test suite: test unlocking an mbox after dotlocking failed with EACCES

This commit is contained in:
Nikolaus Schulz 2010-07-30 13:30:20 +02:00
parent eadedf27d0
commit e9446e2fc4
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ class TestMboxDotlock(TestCaseInTempdir):
os.chmod(mbox_dir, 0500)
try:
self.mbox._dotlock_lock()
self.mbox._dotlock_unlock()
finally:
os.chmod(mbox_dir, 0700)
archivemail.options.quiet = False