Skip to content

Commit

Permalink
Troubleshooting unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Nov 13, 2023
1 parent 5a42951 commit 09906c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/api_method_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 09906c7

Please sign in to comment.