Revision b10b9d74 test/ganeti.locking_unittest.py

b/test/ganeti.locking_unittest.py
584 584
  def testLockingConstants(self):
585 585
    # The locking library internally cheats by assuming its constants have some
586 586
    # relationships with each other. Check those hold true.
587
    # This relationship is also used in the Processor to recursively acquire
588
    # the right locks. Again, please don't break it.
587 589
    for i in range(len(locking.LEVELS)):
588 590
      self.assertEqual(i, locking.LEVELS[i])
589 591

  

Also available in: Unified diff