[FIX] qweb tests re. inherit_branding enabling/disabling injection of data attributes

bzr revid: xmo@openerp.com-20140317152424-bchnq81cn2e7fhjb
This commit is contained in:
Xavier Morel 2014-03-17 16:24:24 +01:00
parent 3d2452e8d4
commit 4988b40ef5
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ class TestQWebTField(common.TransactionCase):
self.engine = self.registry('ir.qweb')
def context(self, values):
return ir_qweb.QWebContext(self.cr, self.uid, values)
return ir_qweb.QWebContext(
self.cr, self.uid, values, context={'inherit_branding': True})
def test_trivial(self):
field = document.createElement('span')