From: Christophe Simonis Date: Wed, 20 Aug 2014 16:23:12 +0000 (+0200) Subject: [FIX] base: correct view branding tests after c013210 X-Git-Tag: 8.0.0~25^2~31 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;ds=sidebyside;h=39bee35e25ca964f73fea3538c3a5794bff4c142;p=odoo%2Fodoo.git [FIX] base: correct view branding tests after c013210 --- diff --git a/openerp/addons/base/tests/test_views.py b/openerp/addons/base/tests/test_views.py index 9167b65..125ddcf 100644 --- a/openerp/addons/base/tests/test_views.py +++ b/openerp/addons/base/tests/test_views.py @@ -541,9 +541,9 @@ class TestTemplating(ViewCase): 'data-oe-id': str(id2), 'data-oe-field': 'arch', 'data-oe-xpath': '/xpath/item/content[1]', + 'data-oe-source-id': str(id) }), { 'order': '2', - 'data-oe-source-id': str(id) }), E.item({ 'order': '1', @@ -609,7 +609,7 @@ class TestTemplating(ViewCase): {'t-ignore': 'true', 'order': '1'}, E.t({'t-esc': 'foo'}), E.item( - {'order': '2', 'data-oe-source-id': str(id)}, + {'order': '2'}, E.content( {'t-att-href': 'foo'}, "bar")