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.
This commit is contained in:
Nikolaus Schulz 2008-09-30 14:19:24 +02:00
parent 41da26b655
commit 03bfb88d30
1 changed files with 3 additions and 3 deletions

View File

@ -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):