changeset 2809 | 04fa75d43af4 |
parent 2773 | b2530e3e0afb |
--- a/server/test/unittest_hooksmanager.py Thu Aug 13 10:57:57 2009 +0200 +++ b/server/test/unittest_hooksmanager.py Thu Aug 13 10:58:29 2009 +0200 @@ -170,7 +170,7 @@ class HookTC(CubicWebTC): def test_inheritance(self): - self.assertEquals(list(MyHook.register_to()), + self.assertEquals(list(MyHook.register_to(self.schema)), zip(repeat('whatever'), ('Societe', 'Division', 'SubDivision')) + zip(repeat('another'), ('Societe', 'Division', 'SubDivision')))