--- a/common/test/unittest_mail.py Tue Aug 11 17:04:59 2009 +0200
+++ b/common/test/unittest_mail.py Tue Aug 11 17:13:32 2009 +0200
@@ -13,7 +13,7 @@
from logilab.common.testlib import unittest_main
from logilab.common.umessage import message_from_string
-from cubicweb.devtools.apptest import EnvBasedTC
+from cubicweb.devtools.testlib import CubicWebTC
from cubicweb.common.mail import format_mail
@@ -25,7 +25,7 @@
return pwd.getpwuid(os.getuid())[0]
-class EmailTC(EnvBasedTC):
+class EmailTC(CubicWebTC):
def test_format_mail(self):
self.set_option('sender-addr', 'bim@boum.fr')