Merge lp:~therp-nl/ocb-server/7.0-lp1194893-fix_tests into lp:ocb-server
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 5134 | ||||
Proposed branch: | lp:~therp-nl/ocb-server/7.0-lp1194893-fix_tests | ||||
Merge into: | lp:ocb-server | ||||
Diff against target: |
15 lines (+3/-2) 1 file modified
openerp/tests/addons/test_impex/tests/test_export.py (+3/-2) |
||||
To merge this branch: | bzr merge lp:~therp-nl/ocb-server/7.0-lp1194893-fix_tests | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christophe CHAUVET | code review, no test | Approve | |
Holger Brunn (Therp) | code review | Approve | |
Pedro Manuel Baeza | code review, no test | Approve | |
Review via email: mp+192597@code.launchpad.net |
Commit message
[FIX] Generates external ids based on the actual model's name in the case of relation fields
Description of the change
This branch fixes a failing test due to the fix for lp:1194893. This fix generates external ids based on the actual model's name in the case of relation fields. The failing test expected to find the source model's name in the external id, not the m2o target model name.
=======
FAIL: test_external_id (openerp.
-------
Traceback (most recent call last):
File "/home/
[[external_
AssertionError: Lists differ: [[u'__export_
First differing element 0:
[u'__export_
[u'__export_
- [[u'__export_
? ^ ^ ---
+ [[u'__export_
? ^^ ^^^^
LGTM
Stefan, it's good to see that you are already working of fixing tests problems.
Thank you for your always valuable work.
Regards.