[FIX] base: make the test pass

Since this test relies on the fact that no data exists yet, we are
forced to unlink them...
This commit is contained in:
Richard Mathot
2017-12-21 12:59:23 +01:00
parent eb61925344
commit dcad7b37cd
@@ -185,6 +185,7 @@ class TestActionBindings(common.TransactionCase):
Actions = self.env['ir.actions.actions']
# first make sure there is no bound action
self.env.ref('base.action_partner_merge').unlink()
bindings = Actions.get_bindings('res.partner')
self.assertFalse(bindings['action'])
self.assertFalse(bindings['report'])