From 6585002dfa46558b63ccbea0d48e7d02091453fc Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Wed, 13 Dec 2023 11:44:25 +0100 Subject: [PATCH] tests/upload: use shorter audio --- server/tests/test_transcripts_upload.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/tests/test_transcripts_upload.py b/server/tests/test_transcripts_upload.py index 3c9c240e..3cb482c1 100644 --- a/server/tests/test_transcripts_upload.py +++ b/server/tests/test_transcripts_upload.py @@ -9,6 +9,7 @@ from httpx import AsyncClient @pytest.mark.asyncio async def test_transcript_upload_file( tmpdir, + ensure_casing, dummy_llm, dummy_processors, dummy_diarization, @@ -29,8 +30,8 @@ async def test_transcript_upload_file( f"/transcripts/{tid}/record/upload", files={ "file": ( - "test_mathieu_hello.mp3", - open("tests/records/test_mathieu_hello.mp3", "rb"), + "test_short.wav", + open("tests/records/test_short.wav", "rb"), "audio/mpeg", ) },