Ejemplo n.º 1
0
 def test_worst_of_emptyset_is_ok(self):
     self.assertEqual(Ok, worst([]))
Ejemplo n.º 2
0
 def test_worst_of_emptyset_is_ok(self):
     self.assertEqual(Ok, worst([]))
Ejemplo n.º 3
0
 def test_worst(self):
     self.assertEqual(Critical, worst([Ok, Critical, Warn]))
Ejemplo n.º 4
0
 def test_worst(self):
     self.assertEqual(Critical, worst([Ok, Critical, Warn]))