diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-01-09 19:07:01 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-01-09 19:07:01 +0100 |
| commit | 55caee64812a23b85daac3e7adbfd2ce6b7f767f (patch) | |
| tree | be5dbeb179127ce9b5695aeb454cd45e6ec50729 | |
| parent | 81d03da3609a186876e5963519b5bd59e2d2be41 (diff) | |
[FIX] base: adapt test to new behaviour defined by 7e894aca0b3a0c79121214d059a850f4628d75bc
| -rw-r--r-- | odoo/addons/base/tests/test_translate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/tests/test_translate.py b/odoo/addons/base/tests/test_translate.py index 19405c3145d..dd70c9111ca 100644 --- a/odoo/addons/base/tests/test_translate.py +++ b/odoo/addons/base/tests/test_translate.py @@ -258,7 +258,7 @@ class TestTranslation(TransactionCase): category = self.customers.with_context({'lang': 'fr_FR'}).copy({'name': 'Clients (copie)'}) category_no = category.with_context({}) - self.assertEqual(category_no.name, 'Customers', "Duplication erased original untranslated value") + self.assertEqual(category_no.name, 'Clients (copie)', "Duplication should set untranslated value") category_fr = category.with_context({'lang': 'fr_FR'}) self.assertEqual(category_fr.name, 'Clients (copie)', "Did not used default value for translated value") |
