Revision dcf315e2
b/test/ganeti.locking_unittest.py | ||
---|---|---|
517 | 517 |
self.assertEqual(i, locking.LEVELS[i]) |
518 | 518 |
|
519 | 519 |
def testDoubleGLFails(self): |
520 |
# We are not passing test=True, so instantiating a new one should fail |
|
521 | 520 |
self.assertRaises(AssertionError, locking.GanetiLockManager) |
522 | 521 |
|
523 | 522 |
def testLockNames(self): |
Also available in: Unified diff