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 setUp(self):
     self.ctest = Test()
     self.msg = load_yaml('./tests/fixtures/sip_out.yml')
 def testSipOut(self):
     sip_out = load_yaml('./tests/fixtures/test_sip_out.yml')
     check_sip_out(sip_out, self.msg, self.ctest)
     self.assertFalse(self.ctest.isError())
 def testSipIn(self):
     sip_in = load_yaml('./tests/fixtures/test_sip_in.yml')
     check_sip(sip_in, self.msg, self.ctest)
     self.assertFalse(self.ctest.isError())