branch | stable |
changeset 2221 | d9b85a7b0bdd |
parent 1977 | 606923dff11b |
child 2234 | 1fbcf202882d |
child 2252 | dd9758cb77e1 |
--- a/devtools/apptest.py Wed Jul 01 16:41:30 2009 +0200 +++ b/devtools/apptest.py Wed Jul 01 16:44:37 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):