devtools/apptest.py
changeset 2234 1fbcf202882d
parent 2058 7ef12c03447c
parent 2221 d9b85a7b0bdd
child 2293 7ded2a1416e4
--- a/devtools/apptest.py	Mon Jun 29 14:12:18 2009 +0200
+++ b/devtools/apptest.py	Thu Jul 02 10:35:03 2009 +0200
@@ -46,8 +46,8 @@
     def sendmail(self, helo_addr, recipients, msg):
         MAILBOX.append(Email(recipients, msg))
 
-from cubicweb.server import hookhelper
-hookhelper.SMTP = MockSMTP
+from cubicweb import cwconfig
+cwconfig.SMTP = MockSMTP
 
 
 def get_versions(self, checkversions=False):