(self, lockpath)
| 253 | assert not lock.got_exclusive_lock() |
| 254 | |
| 255 | def test_break(self, lockpath): |
| 256 | lock = Lock(lockpath, exclusive=True, id=ID1).acquire() |
| 257 | lock.break_lock() |
| 258 | assert len(lock._roster.get(SHARED)) == 0 |
| 259 | assert len(lock._roster.get(EXCLUSIVE)) == 0 |
| 260 | with Lock(lockpath, exclusive=True, id=ID2): |
| 261 | pass |
| 262 | |
| 263 | def test_timeout(self, lockpath): |
| 264 | with Lock(lockpath, exclusive=False, id=ID1): |
nothing calls this directly
no test coverage detected