server/test/unittest_security.py
changeset 2608 21856eda34f6
parent 2501 fa86d99c2c3a
child 2773 b2530e3e0afb
child 2920 64322aa83a1d
--- a/server/test/unittest_security.py	Fri Jul 31 23:48:18 2009 +0200
+++ b/server/test/unittest_security.py	Fri Jul 31 23:54:20 2009 +0200
@@ -515,6 +515,7 @@
         self.execute('SET TI comment %(c)s WHERE TI wf_info_for X, X ref "ARCT01"',
                      {'c': u'creation'})
         self.commit()
+        aff.clear_related_cache('wf_info_for', 'object')
         self.assertEquals(aff.latest_trinfo().comment, 'creation')
         # but not from_state/to_state
         self.execute('SET X in_state S WHERE X ref "ARCT01", S name "ben non"')