equal
deleted
inserted
replaced
44 def close(self): |
44 def close(self): |
45 pass |
45 pass |
46 def sendmail(self, helo_addr, recipients, msg): |
46 def sendmail(self, helo_addr, recipients, msg): |
47 MAILBOX.append(Email(recipients, msg)) |
47 MAILBOX.append(Email(recipients, msg)) |
48 |
48 |
49 from cubicweb.server import hookhelper |
49 from cubicweb import cwconfig |
50 hookhelper.SMTP = MockSMTP |
50 cwconfig.SMTP = MockSMTP |
51 |
51 |
52 |
52 |
53 def get_versions(self, checkversions=False): |
53 def get_versions(self, checkversions=False): |
54 """return the a dictionary containing cubes used by this application |
54 """return the a dictionary containing cubes used by this application |
55 as key with their version as value, including cubicweb version. This is a |
55 as key with their version as value, including cubicweb version. This is a |