Esempio n. 1
0
 def test__format_result(self):
     name = "some_name"
     success = True
     detail = "some details"
     self.assertEqual({"criterion": name,
                       "success": success,
                       "detail": detail},
                      sla._format_result(name, success, detail))
Esempio n. 2
0
 def test__format_result(self):
     name = "some_name"
     success = True
     detail = "some details"
     self.assertEqual({"criterion": name,
                       "success": success,
                       "detail": detail},
                      sla._format_result(name, success, detail))