entities/test/unittest_wfobjs.py
branchstable
changeset 9242 564bdd4dbf8f
parent 8696 0bb18407c053
child 9582 46ed25d38fe2
--- a/entities/test/unittest_wfobjs.py	Tue Sep 17 17:44:15 2013 +0200
+++ b/entities/test/unittest_wfobjs.py	Thu Sep 26 15:18:59 2013 +0200
@@ -75,7 +75,7 @@
         wf.add_transition(u'baz', (bar,), foo)
         with self.assertRaises(ValidationError) as cm:
             self.commit()
-        self.assertEqual(cm.exception.errors, {'name-subject': 'workflow already have a transition of that name'})
+        self.assertEqual(cm.exception.errors, {'name-subject': 'workflow already has a transition of that name'})
         # no pb if not in the same workflow
         wf2 = add_wf(self, 'Company')
         foo = wf.add_state(u'foo', initial=True)
@@ -88,7 +88,7 @@
         biz.cw_set(name=u'baz')
         with self.assertRaises(ValidationError) as cm:
             self.commit()
-        self.assertEqual(cm.exception.errors, {'name-subject': 'workflow already have a transition of that name'})
+        self.assertEqual(cm.exception.errors, {'name-subject': 'workflow already has a transition of that name'})
 
 
 class WorkflowTC(CubicWebTC):