test suite: test unlocking an mbox after dotlocking failed with EACCES
This commit is contained in:
parent
eadedf27d0
commit
e9446e2fc4
|
@ -248,6 +248,7 @@ class TestMboxDotlock(TestCaseInTempdir):
|
||||||
os.chmod(mbox_dir, 0500)
|
os.chmod(mbox_dir, 0500)
|
||||||
try:
|
try:
|
||||||
self.mbox._dotlock_lock()
|
self.mbox._dotlock_lock()
|
||||||
|
self.mbox._dotlock_unlock()
|
||||||
finally:
|
finally:
|
||||||
os.chmod(mbox_dir, 0700)
|
os.chmod(mbox_dir, 0700)
|
||||||
archivemail.options.quiet = False
|
archivemail.options.quiet = False
|
||||||
|
|
Loading…
Reference in New Issue