web/test/unittest_webconfig.py
changeset 16 a70ece4d9d1a
parent 0 b97547f5f1fa
child 1802 d628defebc17
--- a/web/test/unittest_webconfig.py	Mon Nov 10 18:18:44 2008 +0100
+++ b/web/test/unittest_webconfig.py	Mon Nov 10 19:33:55 2008 +0100
@@ -8,7 +8,7 @@
 class WebconfigTC(TestCase):
     def setUp(self):
         self.config = ApptestConfiguration('data')
-        self.config._cubes = ['efile']
+        self.config._cubes = ['file']
         self.config.load_configuration()
         
     def test_nonregr_print_css_as_list(self):
@@ -23,7 +23,7 @@
     def test_locate_resource(self):
         self.failUnless('FILE_ICON' in self.config.ext_resources)
         rname = self.config.ext_resources['FILE_ICON'].replace('DATADIR/', '')
-        self.failUnless('efile' in self.config.locate_resource(rname).split(os.sep))
+        self.failUnless('file' in self.config.locate_resource(rname).split(os.sep))
         cubicwebcsspath = self.config.locate_resource('cubicweb.css').split(os.sep)
         self.failUnless('web' in cubicwebcsspath or 'shared' in cubicwebcsspath) # 'shared' if tests under apycot