Revision 2f1278d8 test/py/ganeti.utils.version_unittest.py

b/test/py/ganeti.utils.version_unittest.py
65 65
        self.assertFalse(version.ShouldCfgdowngrade((2,10,0), current=(3,10,0)))
66 66

  
67 67

  
68
class IsCorrectConfigVersionTest(unittest.TestCase):
69
    def testIsCorrectConfigVersion(self):
70
        self.assertTrue(version.IsCorrectConfigVersion((2,10,1), (2,10,0)))
71
        self.assertFalse(version.IsCorrectConfigVersion((2,11,0), (2,10,0)))
72
        self.assertFalse(version.IsCorrectConfigVersion((3,10,0), (2,10,0)))
73

  
74

  
68 75
if __name__ == "__main__":
69 76
  testutils.GanetiTestProgram()

Also available in: Unified diff