diff options
author | Paul Rodger <paul@paulrodger.com> | 2002-04-12 14:46:09 +0000 |
---|---|---|
committer | Paul Rodger <paul@paulrodger.com> | 2002-04-12 14:46:09 +0000 |
commit | 0203bed0c46e1c890afd6910119b5264b22d101c (patch) | |
tree | 1520b399d9f9e455403b6b1ecb88ddf2bcaca386 /test_archivemail.py | |
parent | 5350fc26f6cffa11464004040cc5857b9da3479c (diff) | |
download | archivemail-0203bed0c46e1c890afd6910119b5264b22d101c.tar.gz archivemail-0203bed0c46e1c890afd6910119b5264b22d101c.tar.bz2 archivemail-0203bed0c46e1c890afd6910119b5264b22d101c.zip |
Added docbook documentation from which we can generate a manpage.
Diffstat (limited to 'test_archivemail.py')
-rwxr-xr-x | test_archivemail.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test_archivemail.py b/test_archivemail.py index 56ca635..adde027 100755 --- a/test_archivemail.py +++ b/test_archivemail.py @@ -203,6 +203,7 @@ class TestMboxWrite(unittest.TestCase): if os.path.exists(name): os.remove(name) +########## options class testing ################# class TestOptionDefaults(unittest.TestCase): def testVerbose(self): @@ -222,8 +223,7 @@ class TestOptionDefaults(unittest.TestCase): self.assertEqual(archivemail.options.quiet, 0) -########## generic routine testing ################# - +########## archivemail.is_too_old() unit testing ################# class TestIsTooOld(unittest.TestCase): def testVeryOld(self): @@ -262,6 +262,7 @@ class TestIsTooOld(unittest.TestCase): time_msg = time.time() + (minutes * 60) assert(not archivemail.is_too_old(time_message=time_msg, max_days=1)) +################ archivemail.choose_temp_dir() unit testing ############# class TestChooseTempDir(unittest.TestCase): def setUp(self): @@ -460,7 +461,9 @@ class TestArchiveMboxNew(unittest.TestCase): if os.path.exists(name): os.remove(name) - +# +# Test the file mode (permissions) of the original mailbox after archival +# class TestArchiveMboxMode(unittest.TestCase): def setUp(self): archivemail.options.quiet = 1 |