Merge lp:~camptocamp/oerpscenario/fix-create-db-odoo-8 into lp:oerpscenario
Proposed by
Yannick Vaucher @ Camptocamp
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Yannick Vaucher @ Camptocamp | ||||
Proposed branch: | lp:~camptocamp/oerpscenario/fix-create-db-odoo-8 | ||||
Merge into: | lp:oerpscenario | ||||
Diff against target: |
45 lines (+15/-10) 1 file modified
features/environment.py (+15/-10) |
||||
To merge this branch: | bzr merge lp:~camptocamp/oerpscenario/fix-create-db-odoo-8 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonardo Pistone | Needs Fixing | ||
Review via email: mp+231934@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 333. By Yannick Vaucher @ Camptocamp
-
do log user in before_scenario in order to be able, with a tag @no_login, to execute action without trying to log. It can be useful to repair a database or to create the database before logging in.
1. you could take the occasion to refactor the original code in
admin_login_ password = xxx.get('yyy') or 'admin'
and remove the "if" block
2. the commit message is unclear to me, you mean "do NOT log user in" ?
3. the new commentary sound also a bit obscure but maybe it's only me :)
4. not 'no_login' in -> 'no_login' not in
thanks