From 37f96c1c840a62e9ef85dedb6d8a3079cb3c32ac Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Tue, 5 Aug 2008 18:23:52 +0200 Subject: Remove unused method Mbox.is_empty() --- test_archivemail.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'test_archivemail.py') diff --git a/test_archivemail.py b/test_archivemail.py index 9cf1986..b79934f 100755 --- a/test_archivemail.py +++ b/test_archivemail.py @@ -99,22 +99,6 @@ class TestCaseInTempdir(unittest.TestCase): ############ Mbox Class testing ############## -class TestMboxIsEmpty(TestCaseInTempdir): - def setUp(self): - super(TestMboxIsEmpty, self).setUp() - self.empty_name = make_mbox(messages=0) - self.not_empty_name = make_mbox(messages=1) - - def testEmpty(self): - """is_empty() should be true for an empty mbox""" - mbox = archivemail.Mbox(self.empty_name) - assert(mbox.is_empty()) - - def testNotEmpty(self): - """is_empty() should be false for a non-empty mbox""" - mbox = archivemail.Mbox(self.not_empty_name) - assert(not mbox.is_empty()) - class TestMboxLeaveEmpty(TestCaseInTempdir): def setUp(self): super(TestMboxLeaveEmpty, self).setUp() -- cgit v1.2.3