aboutsummaryrefslogtreecommitdiffstats
path: root/test_archivemail.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_archivemail.py')
-rwxr-xr-xtest_archivemail.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test_archivemail.py b/test_archivemail.py
index 18d6f4f..0af5f7a 100755
--- a/test_archivemail.py
+++ b/test_archivemail.py
@@ -563,6 +563,15 @@ This is after the ^From line"""
'Date' : None,
'Resent-Date' : 'Fri, 28 Jul 2000 16:11:36 +1000',
},
+ { # completely blank dates were crashing < version 0.4.7
+ 'From_' : 'sender@dummy.domain Fri Jul 28 16:11:36 2000',
+ 'Date' : '',
+ },
+ { # completely blank dates were crashing < version 0.4.7
+ 'From_' : 'sender@dummy.domain Fri Jul 28 16:11:36 2000',
+ 'Date' : '',
+ 'Resent-Date' : '',
+ },
)
for headers in weird_headers:
self.setUp()