From 03bfb88d309a39bfb6757a525445bc9a700db027 Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Tue, 30 Sep 2008 14:19:24 +0200 Subject: 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. --- test_archivemail.py | 6 +++--- 1 file 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): -- cgit v1.2.3