mirror of
https://git.code.sf.net/p/archivemail/code
synced 2025-03-12 07:42:50 +00:00
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:
parent
41da26b655
commit
03bfb88d30
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue