entities/test/unittest_wfobjs.py
changeset 9582 46ed25d38fe2
parent 9242 564bdd4dbf8f
child 9752 5df3ac51a91a
--- a/entities/test/unittest_wfobjs.py	Mon Mar 24 16:38:57 2014 +0100
+++ b/entities/test/unittest_wfobjs.py	Mon Mar 24 11:57:23 2014 +0100
@@ -263,6 +263,7 @@
         state3 = mwf.add_state(u'state3')
         swftr1 = mwf.add_wftransition(u'swftr1', swf, state1,
                                       [(swfstate2, state2), (swfstate3, state3)])
+        swf.cw_clear_all_caches()
         self.assertEqual(swftr1.destination(None).eid, swfstate1.eid)
         # workflows built, begin test
         group = self.request().create_entity('CWGroup', name=u'grp1')