entities/test/unittest_wfobjs.py
branchstable
changeset 5450 269dcd14b92c
parent 5426 0d4853a6e5ee
child 5457 ab35bcdcb7c1
--- a/entities/test/unittest_wfobjs.py	Fri Apr 30 18:24:29 2010 +0200
+++ b/entities/test/unittest_wfobjs.py	Fri Apr 30 19:07:06 2010 +0200
@@ -432,7 +432,7 @@
         self.execute('SET X custom_workflow WF WHERE X eid %(x)s, WF eid %(wf)s',
                      {'wf': wf.eid, 'x': self.member.eid})
         ex = self.assertRaises(ValidationError, self.commit)
-        self.assertEquals(ex.errors, {'custom_workflow-subject': 'workflow isn\'t a workflow for this type'})
+        self.assertEquals(ex.errors, {'in_state-subject': u"state doesn't apply to this entity's type"})
 
     def test_del_custom_wf(self):
         """member in some state shared by the new workflow, nothing has to be