diff options
author | Nikolaus Schulz <microschulz@web.de> | 2008-09-30 14:19:24 +0200 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2010-07-19 01:13:25 +0200 |
commit | 03bfb88d309a39bfb6757a525445bc9a700db027 (patch) | |
tree | 52d8e34fb31a056251469671065375028dbb2a24 | |
parent | 41da26b655bea7cdfe5e4f246e7e193d74ac824c (diff) | |
download | archivemail-03bfb88d309a39bfb6757a525445bc9a700db027.tar.gz archivemail-03bfb88d309a39bfb6757a525445bc9a700db027.tar.bz2 archivemail-03bfb88d309a39bfb6757a525445bc9a700db027.zip |
test suite: change misleading test case name
TestArchiveMboxPreserveStatus actually doesn't test that the message
status is preserved, but that the --preserve-unread option works.
Rename it to TestArchiveMboxPreserveUnread.
-rwxr-xr-x | test_archivemail.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test_archivemail.py b/test_archivemail.py index 44c7823..fb308a6 100755 --- a/test_archivemail.py +++ b/test_archivemail.py @@ -731,10 +731,10 @@ class TestArchiveMboxAll(TestCaseInTempdir): archivemail.options.archive_all = 0 super(TestArchiveMboxAll, self).tearDown() -class TestArchiveMboxPreserveStatus(TestCaseInTempdir): +class TestArchiveMboxPreserveUnread(TestCaseInTempdir): """make sure the 'preserve_unread' option works""" def setUp(self): - super(TestArchiveMboxPreserveStatus, self).setUp() + super(TestArchiveMboxPreserveUnread, self).setUp() archivemail.options.quiet = 1 archivemail.options.preserve_unread = 1 @@ -763,7 +763,7 @@ class TestArchiveMboxPreserveStatus(TestCaseInTempdir): def tearDown(self): archivemail.options.quiet = 0 archivemail.options.preserve_unread = 0 - super(TestArchiveMboxPreserveStatus, self).tearDown() + super(TestArchiveMboxPreserveUnread, self).tearDown() class TestArchiveMboxSuffix(unittest.TestCase): |