summaryrefslogtreecommitdiff
path: root/obnamlib/lockmgr_tests.py
AgeCommit message (Expand)AuthorFilesLines
2015-09-28Avoid using assertTrue(True) in unit testLars Wirzenius1-1/+1
2015-05-23Add more tests for lockmgrLars Wirzenius1-0/+2
2015-05-14Fixes for nitpickersLars Wirzenius1-1/+1
2015-05-14Add LockManager.force methodLars Wirzenius1-0/+9
2015-05-10Add LockManager.got_lock methodLars Wirzenius1-0/+6
2015-04-12Add LockManager.get_lock_name methodLars Wirzenius1-1/+4
2014-04-13Format long linesLars Wirzenius1-1/+2
2014-04-13Add missing copyright statements, yearsLars Wirzenius1-1/+1
2013-12-28Add LockManager.is_locked and use it in testsLars Wirzenius1-12/+7
2013-06-16Remove whitespace from ends of linesLars Wirzenius1-5/+5
2012-04-21Ensure content of lock files is somewhat more usefulDaniel Silverstone1-1/+1
2012-04-13Add test to verify timeout is exceeded when lock failsLars Wirzenius1-0/+1
2012-02-25Fix LockManager._sleep to not be given argumentsLars Wirzenius1-3/+2
2012-02-25Sort directories to be lockedLars Wirzenius1-0/+1
2012-02-25If one lock fails, do not lock anythingLars Wirzenius1-0/+7
2012-02-25Add tests for (un)locking more than one directory at onceLars Wirzenius1-0/+11
2012-02-25Change LockManager.lock and unlock to take lists of directoriesLars Wirzenius1-7/+7
2012-02-25Add test for lock that goes away while we waitLars Wirzenius1-0/+7
2012-02-25Stop busywaiting for lock to go awayLars Wirzenius1-0/+1
2012-02-25Add re-trying of lock until a timeout happensLars Wirzenius1-1/+13
2012-02-25Add LockManager.unlockLars Wirzenius1-0/+5
2012-02-25Add LockManager.lockLars Wirzenius1-0/+4
2012-02-25Add a do-nothing lock manager and test for itLars Wirzenius1-0/+46