sobjects/test/unittest_email.py
changeset 2773 b2530e3e0afb
parent 1977 606923dff11b
child 3293 69c0ba095536
--- a/sobjects/test/unittest_email.py	Tue Aug 11 17:04:59 2009 +0200
+++ b/sobjects/test/unittest_email.py	Tue Aug 11 17:13:32 2009 +0200
@@ -5,9 +5,9 @@
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
 """
-from cubicweb.devtools.apptest import EnvBasedTC
+from cubicweb.devtools.testlib import CubicWebTC
 
-class EmailAddressHooksTC(EnvBasedTC):
+class EmailAddressHooksTC(CubicWebTC):
 
     def test_use_email_set_primary_email(self):
         self.execute('INSERT EmailAddress X: X address "admin@logilab.fr", U use_email X WHERE U login "admin"')