entities/test/unittest_wfobjs.py
changeset 9246 593b29325f68
parent 9242 564bdd4dbf8f
child 9582 46ed25d38fe2
--- a/entities/test/unittest_wfobjs.py	Fri Aug 09 10:00:40 2013 +0200
+++ b/entities/test/unittest_wfobjs.py	Mon Sep 30 18:07:51 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):