mirror of
https://git.code.sf.net/p/archivemail/code
synced 2025-01-03 05:34:58 +00:00
test suite: test unlocking an mbox after dotlocking failed with EACCES
This commit is contained in:
parent
eadedf27d0
commit
e9446e2fc4
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue