equal
deleted
inserted
replaced
75 * deleted comment #EID (duh?)''', |
75 * deleted comment #EID (duh?)''', |
76 data) |
76 data) |
77 # check prepared email |
77 # check prepared email |
78 op._prepare_email() |
78 op._prepare_email() |
79 self.assertEqual(len(op.to_send), 1) |
79 self.assertEqual(len(op.to_send), 1) |
80 self.assert_(op.to_send[0][0]) |
80 self.assertTrue(op.to_send[0][0]) |
81 self.assertEqual(op.to_send[0][1], ['test@logilab.fr']) |
81 self.assertEqual(op.to_send[0][1], ['test@logilab.fr']) |
82 cnx.commit() |
82 cnx.commit() |
83 # some other changes ####### |
83 # some other changes ####### |
84 user.cw_adapt_to('IWorkflowable').fire_transition('deactivate') |
84 user.cw_adapt_to('IWorkflowable').fire_transition('deactivate') |
85 sentops = [op for op in cnx.pending_operations |
85 sentops = [op for op in cnx.pending_operations |