# HG changeset patch # User Sylvain Thénault # Date 1265367910 -3600 # Node ID d3b1d50fc29a4310794e30bfd6583ea1a1b7d02e # Parent 71fbc449e814183dbc9b17578f91ac933050059f 3.6 test api update diff -r 71fbc449e814 -r d3b1d50fc29a devtools/test/unittest_testlib.py --- a/devtools/test/unittest_testlib.py Fri Feb 05 12:04:48 2010 +0100 +++ b/devtools/test/unittest_testlib.py Fri Feb 05 12:05:10 2010 +0100 @@ -26,7 +26,7 @@ class MyWebTest(CubicWebTC): def test_error_view(self): - self.add_entity('Bug', title=u"bt") + self.request().create_entity('Bug', title=u"bt") self.view('raising', self.execute('Bug B'), template=None) def test_correct_view(self):