[tests] make unittest_uicfg pass again by using the correct test class
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 24 Sep 2009 20:31:23 +0200
changeset 3464 99bd1ea0394a
parent 3463 bc2ee1d059fd
child 3465 01616e5fa590
[tests] make unittest_uicfg pass again by using the correct test class
web/test/unittest_uicfg.py
--- a/web/test/unittest_uicfg.py	Thu Sep 24 20:28:25 2009 +0200
+++ b/web/test/unittest_uicfg.py	Thu Sep 24 20:31:23 2009 +0200
@@ -1,7 +1,7 @@
-from cubicweb.devtools.apptest import EnvBasedTC
+from cubicweb.devtools.testlib import CubicWebTC
 from cubicweb.web import uicfg
 
-class UICFGTC(EnvBasedTC):
+class UICFGTC(CubicWebTC):
 
     def test_autoform_section_inlined(self):
         self.assertEquals(uicfg.autoform_is_inlined.etype_get('CWUser', 'use_email', 'subject', 'EmailAddress'),