web/test/unittest_webconfig.py
changeset 2773 b2530e3e0afb
parent 1977 606923dff11b
child 4252 6c4f109c2b03
--- a/web/test/unittest_webconfig.py	Tue Aug 11 17:04:59 2009 +0200
+++ b/web/test/unittest_webconfig.py	Tue Aug 11 17:13:32 2009 +0200
@@ -9,8 +9,7 @@
 
 from logilab.common.testlib import TestCase, unittest_main
 
-from cubicweb.devtools._apptest import FakeRequest
-from cubicweb.devtools import ApptestConfiguration
+from cubicweb.devtools import ApptestConfiguration, fake
 
 class WebconfigTC(TestCase):
     def setUp(self):
@@ -21,7 +20,7 @@
     def test_nonregr_print_css_as_list(self):
         """make sure PRINT_CSS *must* is a list"""
         config = self.config
-        req = FakeRequest()
+        req = fake.FakeRequest()
         print_css = req.external_resource('STYLESHEETS_PRINT')
         self.failUnless(isinstance(print_css, list))
         ie_css = req.external_resource('IE_STYLESHEETS')