summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2014-09-03 17:35:28 -0300
committerVictor Shyba <victor.shyba@gmail.com>2014-09-03 17:35:28 -0300
commit2da2783e2ee984d37b66807c57b1ae9d41750ff4 (patch)
tree0c3fad8c9ac56a3ee2a69b6d9c7d309582a7d54d
parente71ff5d379a5d764df60d0675a1f130d46f4318a (diff)
+@pmaia - fix unit tests for isodate
-rw-r--r--service/test/adapter/pixelated_mail_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/adapter/pixelated_mail_test.py b/service/test/adapter/pixelated_mail_test.py
index c9146f24..5619a1ff 100644
--- a/service/test/adapter/pixelated_mail_test.py
+++ b/service/test/adapter/pixelated_mail_test.py
@@ -35,7 +35,7 @@ class TestPixelatedMail(unittest.TestCase):
def test_parse_date_from_leap_mail_uses_date_header_if_available(self):
leap_mail_date = 'Wed, 3 Sep 2014 12:36:17 -0300'
- leap_mail_date_in_iso_format = "2014-09-03 12:36:17-03:00"
+ leap_mail_date_in_iso_format = "2014-09-03T12:36:17-03:00"
leap_mail = test_helper.leap_mail(headers={'date': leap_mail_date})
@@ -45,7 +45,7 @@ class TestPixelatedMail(unittest.TestCase):
def test_parse_date_from_leap_mail_fallback_to_received_header_if_date_header_isnt_available(self):
leap_mail_date = "Wed, 03 Sep 2014 13:11:15 -0300"
- leap_mail_date_in_iso_format = "2014-09-03 13:11:15-03:00"
+ leap_mail_date_in_iso_format = "2014-09-03T13:11:15-03:00"
leap_mail_received_header = "by bitmask.local from 127.0.0.1 with ESMTP ;\n " + leap_mail_date
leap_mail = test_helper.leap_mail(headers={'received': leap_mail_received_header})