backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Feb 2011 19:00:25 +0100
changeset 6969 c527de85ea61
parent 6968 2abc3befb788 (current diff)
parent 6965 343c79c3f04a (diff)
child 6970 a6ccbfbacf3d
backport stable
hooks/test/unittest_hooks.py
--- a/hooks/test/unittest_hooks.py	Wed Feb 09 19:00:14 2011 +0100
+++ b/hooks/test/unittest_hooks.py	Wed Feb 09 19:00:25 2011 +0100
@@ -69,7 +69,7 @@
 
     def test_metadata_cwuri(self):
         entity = self.request().create_entity('Workflow', name=u'wf1')
-        self.assertEqual(entity.cwuri, self.repo.config['base-url'] + 'eid/%s' % entity.eid)
+        self.assertEqual(entity.cwuri, self.repo.config['base-url'] + str(entity.eid))
 
     def test_metadata_creation_modification_date(self):
         _now = datetime.now()