Beispiel #1
0
 def test_ganeti25(self):
     cluster = make_mock_cluster("2.5.0")
     self.assertEqual(classify(cluster), GANETI25)
Beispiel #2
0
 def test_future(self):
     cluster = make_mock_cluster("3.0.0")
     self.assertEqual(classify(cluster), FUTURE)
Beispiel #3
0
 def test_ganeti241(self):
     cluster = make_mock_cluster("2.4.1")
     self.assertEqual(classify(cluster), GANETI24)
Beispiel #4
0
 def test_ancient(self):
     cluster = make_mock_cluster("2.1.0")
     self.assertEqual(classify(cluster), ANCIENT)