missing cache key
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Dec 2009 12:03:10 +0100
changeset 4028 062beb946b7c
parent 4027 02273e65e1c2
child 4029 e50a6b70c8e4
missing cache key
entities/test/unittest_wfobjs.py
--- a/entities/test/unittest_wfobjs.py	Tue Dec 08 12:02:57 2009 +0100
+++ b/entities/test/unittest_wfobjs.py	Tue Dec 08 12:03:10 2009 +0100
@@ -390,7 +390,7 @@
         wf = add_wf(self, 'Company')
         wf.add_state('asleep', initial=True)
         self.execute('SET X custom_workflow WF WHERE X eid %(x)s, WF eid %(wf)s',
-                     {'wf': wf.eid, 'x': self.member.eid})
+                     {'wf': wf.eid, 'x': self.member.eid}, 'x')
         ex = self.assertRaises(ValidationError, self.commit)
         self.assertEquals(ex.errors, {'custom_workflow': 'workflow isn\'t a workflow for this type'})