diff --git a/tests/api_method_tests.py b/tests/api_method_tests.py index 86a4300..d25563c 100644 --- a/tests/api_method_tests.py +++ b/tests/api_method_tests.py @@ -148,10 +148,11 @@ def test_get_stt_valid_file(self): stt_resp.serialize()) self.assertIn("stop", stt_resp.data.get("transcripts")) self.assertEqual(stt_resp.context['timing']['client_sent'], - context['timing']['client_sent']) + context['timing']['client_sent'], stt_resp.context) self.assertIsInstance(stt_resp.context['timing']['mq_from_client'], - float) - self.assertIsInstance(stt_resp.context['timing']['transcribed'], float) + float, stt_resp.context) + self.assertIsInstance(stt_resp.context['timing']['transcribed'], float, + stt_resp.context) def test_get_stt_valid_contents(self): context = {"client": "tester",