entities/test/unittest_base.py
changeset 4024 6a14cff373c3
parent 3890 d7a270f50f54
child 4252 6c4f109c2b03
--- a/entities/test/unittest_base.py	Tue Dec 08 10:58:56 2009 +0100
+++ b/entities/test/unittest_base.py	Tue Dec 08 11:12:42 2009 +0100
@@ -29,7 +29,7 @@
 
     def test_creator(self):
         self.login(u'member')
-        entity = self.add_entity('Bookmark', title=u"hello", path=u'project/cubicweb')
+        entity = self.request().create_entity('Bookmark', title=u"hello", path=u'project/cubicweb')
         self.commit()
         self.assertEquals(entity.creator.eid, self.member.eid)
         self.assertEquals(entity.dc_creator(), u'member')