web/test/unittest_urlrewrite.py
changeset 2773 b2530e3e0afb
parent 2439 77d8dd77acb3
child 2783 493f527aed1e
--- a/web/test/unittest_urlrewrite.py	Tue Aug 11 17:04:59 2009 +0200
+++ b/web/test/unittest_urlrewrite.py	Tue Aug 11 17:13:32 2009 +0200
@@ -7,8 +7,8 @@
 """
 from logilab.common.testlib import TestCase, unittest_main
 
-from cubicweb.devtools._apptest import FakeRequest
-from cubicweb.devtools.apptest import EnvBasedTC
+from cubicweb.devtools.testlib import CubicWebTC
+from cubicweb.devtools.fake import FakeRequest
 
 from cubicweb.web.views.urlrewrite import SimpleReqRewriter, SchemaBasedRewriter, rgx, rgx_action
 
@@ -82,7 +82,7 @@
 
 
 
-class RgxActionRewriteTC(EnvBasedTC):
+class RgxActionRewriteTC(CubicWebTC):
 
     def setup_database(self):
         self.p1 = self.create_user(u'user1')