tests.test_lockmgr_class¶
Classes
|
Tests which are related to the manager class |
-
class
tests.test_lockmgr_class.
TestLockMgrClass
(methodName='runTest')[source]¶ Tests which are related to the manager class
lockmgr.lockmgr.LockMgr
Tests related to the module-level functions in
lockmgr.lockmgr
can be found intests.test_lockmgr
-
test_lock_wait
()[source]¶ Test that LockMgr runs code with ‘wait for lock expiry’ when lock expires within wait period
-
test_lock_wait_timeout
()[source]¶ Test that LockMgr raises Locked with ‘wait for lock expiry’ when lock still locked after waiting period
-