entities/test/unittest_wfobjs.py
changeset 4028 062beb946b7c
parent 4024 6a14cff373c3
child 4030 6cfe4faddf8c
--- 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'})