aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2006-10-27 01:30:49 +0000
committerNikolaus Schulz <microschulz@web.de>2006-10-27 01:30:49 +0000
commit0a666a10a6d1da376d4d1ec811f2db00e7877e1b (patch)
treeabf0fefa58368b5bf8b71ffd2733b39d618455ad
parent7ae1b7bb3f82dbf160411305096fe282e18c5fce (diff)
downloadarchivemail-0a666a10a6d1da376d4d1ec811f2db00e7877e1b.tar.gz
archivemail-0a666a10a6d1da376d4d1ec811f2db00e7877e1b.tar.bz2
archivemail-0a666a10a6d1da376d4d1ec811f2db00e7877e1b.zip
test_archivemail.py: added two missing self.setUp() calls in the TestArchiveMbox
testcase.
-rwxr-xr-xtest_archivemail.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_archivemail.py b/test_archivemail.py
index 976bcb0..75cfdb3 100755
--- a/test_archivemail.py
+++ b/test_archivemail.py
@@ -415,6 +415,7 @@ This is after the ^From line"""
for headers in test_headers:
for option in ('--date=2000-07-29', '-D2000-07-29',
'--date="29 Jul 2000"', '--date="29 July 2000"'):
+ self.setUp()
self.mbox_name = make_mbox(messages=3, headers=headers)
self.copy_name = tempfile.mktemp()
shutil.copyfile(self.mbox_name, self.copy_name)
@@ -431,6 +432,7 @@ This is after the ^From line"""
self.tearDown()
for option in ('--date=2000-07-27', '-D2000-07-27',
'--date="27 Jul 2000"', '--date="27 July 2000"'):
+ self.setUp()
self.mbox_name = make_mbox(messages=3, headers=headers)
self.copy_name = tempfile.mktemp()
shutil.copyfile(self.mbox_name, self.copy_name)