Remove unneeded document.read in AudioDocument_test
This commit is contained in:
parent
e40e7386a0
commit
f51a44fd76
1 changed files with 0 additions and 1 deletions
|
|
@ -30,7 +30,6 @@ def test_AudioDocument():
|
||||||
id=uuid.uuid4(), name="audio-dummy-test", raw_data_location=""
|
id=uuid.uuid4(), name="audio-dummy-test", raw_data_location=""
|
||||||
)
|
)
|
||||||
with patch.object(AudioDocument, "create_transcript", return_value=TEST_TEXT):
|
with patch.object(AudioDocument, "create_transcript", return_value=TEST_TEXT):
|
||||||
l = list(document.read(chunk_size=64))
|
|
||||||
for ground_truth, paragraph_data in zip(
|
for ground_truth, paragraph_data in zip(
|
||||||
GROUND_TRUTH, document.read(chunk_size=64)
|
GROUND_TRUTH, document.read(chunk_size=64)
|
||||||
):
|
):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue