scripts: -d option should take precedence over config file
Bug #1217836 reported by
Georges Racinet
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP buildout recipe |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
But currently it does not
To post a comment you must log in.
Actually, this affects scripts that need a DB to be initialized but don't use the session object, such as unit test launchers. line-options= -d" modifier : to open a DB for scripts that have no direct knowledge of OpenERP.
This is the main use case for the "command-
This is currently the limit of that way of thinking : opening the DB before hand with no explicit chaining to the TestCase base class work too coincidentally for it to be predictable if db names are specified at different locations
Can't fix that right now, but if we do, at some point, better also find a way to have coverage take import into account again.