branch | stable |
changeset 6410 | 2e7a7b0829ed |
parent 6340 | 470d8e828fda |
child 6796 | e70ca9abfc51 |
--- a/entities/test/unittest_wfobjs.py Thu Oct 07 19:02:00 2010 +0200 +++ b/entities/test/unittest_wfobjs.py Fri Oct 08 07:43:38 2010 +0200 @@ -618,6 +618,8 @@ iworkflowable.fire_transition, 'deactivate') self.assertEqual(self._cleanup_msg(ex.errors['by_transition-subject']), u"transition isn't allowed from") + cnx.rollback() + session.set_pool() # get back now iworkflowable.fire_transition('activate') cnx.commit()