Spaces:
Sleeping
Sleeping
VenkateshRoshan
commited on
Commit
·
5b592f3
1
Parent(s):
a459df9
test_codes updated
Browse files- tests/test_module.py +1 -1
tests/test_module.py
CHANGED
@@ -57,6 +57,6 @@ def test_transcribe_local(mock_pipeline, check_audio_file):
|
|
57 |
print(result)
|
58 |
|
59 |
# Assert the mocked transcription matches the expected result
|
60 |
-
assert result.strip() == "Now go away or I shall taunt you a second time!"
|
61 |
assert time_taken.startswith('Using local pipeline it took: ')
|
62 |
|
|
|
57 |
print(result)
|
58 |
|
59 |
# Assert the mocked transcription matches the expected result
|
60 |
+
assert str(result).strip() == "Now go away or I shall taunt you a second time!"
|
61 |
assert time_taken.startswith('Using local pipeline it took: ')
|
62 |
|