def testFail(self): check = load_json('./tests/fixtures/fail.json') scen = load_yaml('./tests/fixtures/scen_fail.yml') check_flow(scen['flow'], check['flow'], self.ctest) tap = str(self.ctest) self.assertTrue(self.ctest.isError(), tap) self.assertIsNotNone(not_ok.search(tap), tap)
def testFlow_fail(self): check_flow(self.scen_ko, self.check_ko, self.ctest) tap = str(self.ctest) self.assertTrue(self.ctest.isError(), tap) self.assertIsNotNone(not_ok.search(tap), tap)
def testFlow_noxavp(self): check_flow(self.scen_noxavp, self.check_ok, self.ctest) self.assertFalse(self.ctest.isError())