[Zope3-checkins] CVS: Zope3/src/zope/app/mail/tests - test_maildir.py:1.4
Marius Gedminas
mgedmin@codeworks.lt
Tue, 1 Jul 2003 03:17:52 -0400
Update of /cvs-repository/Zope3/src/zope/app/mail/tests
In directory cvs.zope.org:/tmp/cvs-serv13733
Modified Files:
test_maildir.py
Log Message:
Fix failing maildir test
=== Zope3/src/zope/app/mail/tests/test_maildir.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/mail/tests/test_maildir.py:1.3 Mon Jun 30 18:44:38 2003
+++ Zope3/src/zope/app/mail/tests/test_maildir.py Tue Jul 1 03:17:51 2003
@@ -177,8 +177,8 @@
self.assertRaises(ValueError, Maildir, '/path/to/regularfile', True)
# Case 4: it is a directory, but not a maildir
- self.assertRaises(OSError, Maildir, '/path/to/emptydirectory', False)
- self.assertRaises(OSError, Maildir, '/path/to/emptydirectory', True)
+ self.assertRaises(ValueError, Maildir, '/path/to/emptydirectory', False)
+ self.assertRaises(ValueError, Maildir, '/path/to/emptydirectory', True)
def test_iteration(self):
from zope.app.mail.maildir import Maildir