changeset 5556 | 9ab2b4c74baf |
parent 5444 | f7fdb5dd82f6 |
child 5940 | 0e3ae19b181a |
--- a/web/test/unittest_views_basecontrollers.py Thu May 20 20:47:13 2010 +0200 +++ b/web/test/unittest_views_basecontrollers.py Thu May 20 20:47:55 2010 +0200 @@ -128,7 +128,7 @@ self.assertEquals(e.firstname, u'Th\xe9nault') self.assertEquals(e.surname, u'Sylvain') self.assertEquals([g.eid for g in e.in_group], groupeids) - self.assertEquals(e.state, 'activated') + self.assertEquals(e.cw_adapt_to('IWorkflowable').state, 'activated') def test_create_multiple_linked(self):