106
106
# Taking out a lock on a locked file should raise LockContention
107
107
self.assertRaises(errors.LockContention, self.write_lock, 'a-file')
109
119
def _disabled_test_write_then_read_excludes(self):
110
120
"""If a file is write-locked, taking out a read lock should fail.