Commit Graph
7 Commits
Author SHA1 Message Date
Cédric Krier 2b78f07a98 Use MagicMock for message when testing sendmail
Since issue8596, sendmail test message contains Date header so message must
implement the magic method.
2019-08-30 11:32:32 +02:00
Cédric Krier d2a461390a Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:19 +02:00
Cédric Krier 96e8ceb7c7 Skip test_get_smtp_server_extra_parameters on python version < 2.7.4
Older Python version does not parse query for smtp scheme.
https://bugs.python.org/issue9374
2017-06-18 20:24:56 +02:00
Sergi Almacellas Abellana 5dfd3b0791 Add localhost_name and timeout as get_smtp_server uri parameters
This allows a better customization of the smtp connection

issue6540
review39411002
2017-06-16 09:47:39 +02:00
Nicolas Évrard ccbb43cb1d Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:51:56 +02:00
Cédric Krier 98d789a0f0 Install 'tests' module to test sendmail and fix assert called
Having a database created is needed to test on postgresql backend.
2016-03-29 00:59:33 +02:00
Cédric Krier ba1faa1a76 Add sendmail datamanager
issue5431
review17981002
2016-03-28 22:40:37 +02:00