[FIX] qweb tests re. inherit_branding enabling/disabling injection of data attributes
bzr revid: xmo@openerp.com-20140317152424-bchnq81cn2e7fhjb
This commit is contained in:
parent
3d2452e8d4
commit
4988b40ef5
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue