diff options
author | Bruno Wagner <bwagner@riseup.net> | 2015-09-24 17:58:16 -0300 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2015-09-25 16:54:36 -0300 |
commit | d186b0204f738367d530514707d0f95a6d4bf865 (patch) | |
tree | 276f5254aed59efdf5ce3cfc70be43ac448f2189 /service/test/support | |
parent | 6eba069fdb566fd006fa48b8b9c5d5b44085f524 (diff) |
Changed date format to conform to mail RFC #438
Diffstat (limited to 'service/test/support')
-rw-r--r-- | service/test/support/integration/model.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/service/test/support/integration/model.py b/service/test/support/integration/model.py index 8b6f9759..c6f6a754 100644 --- a/service/test/support/integration/model.py +++ b/service/test/support/integration/model.py @@ -15,6 +15,7 @@ # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. import json +from pixelated.support import date from pixelated.adapter.model.mail import InputMail from pixelated.adapter.model.status import Status @@ -26,7 +27,8 @@ class MailBuilder: 'to': ['recipient@to.com'], 'cc': ['recipient@cc.com'], 'bcc': ['recipient@bcc.com'], - 'subject': 'Hi! This the subject' + 'subject': 'Hi! This the subject', + 'date': date.mail_date_now() }, 'body': "Hello,\nThis is the body of this message\n\nRegards,\n\n--\nPixelated.\n", 'status': [] |