diff -r a64f48dd5fe4 -r 9ab2b4c74baf sobjects/test/unittest_supervising.py --- a/sobjects/test/unittest_supervising.py Thu May 20 20:47:13 2010 +0200 +++ b/sobjects/test/unittest_supervising.py Thu May 20 20:47:55 2010 +0200 @@ -84,7 +84,7 @@ self.assertEquals(op.to_send[0][1], ['test@logilab.fr']) self.commit() # some other changes ####### - user.fire_transition('deactivate') + user.cw_adapt_to('IWorkflowable').fire_transition('deactivate') sentops = [op for op in session.pending_operations if isinstance(op, SupervisionMailOp)] self.assertEquals(len(sentops), 1)