Revision 74f37195 test/ganeti.constants_unittest.py

b/test/ganeti.constants_unittest.py
54 54
                    (constants.CONFIG_MAJOR, constants.CONFIG_MINOR,
55 55
                     constants.CONFIG_REVISION))
56 56

  
57
  def testDiskStatus(self):
58
    self.failUnless(constants.LDS_OKAY < constants.LDS_UNKNOWN)
59
    self.failUnless(constants.LDS_UNKNOWN < constants.LDS_FAULTY)
60

  
57 61

  
58 62
class TestParameterNames(unittest.TestCase):
59 63
  """HV/BE parameter tests"""
......
69 73
                        "The %s parameter '%s' contains invalid characters" %
70 74
                        (kind, key))
71 75

  
76

  
72 77
if __name__ == '__main__':
73 78
  unittest.main()

Also available in: Unified diff