From 9b36adedae11d7057a2ba320ced19376cd1a602d Mon Sep 17 00:00:00 2001 From: Sergey Mankovsky Date: Fri, 19 Jul 2024 12:30:01 +0200 Subject: [PATCH] Fix broken test --- server/tests/test_transcripts_process.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/tests/test_transcripts_process.py b/server/tests/test_transcripts_process.py index 75531d04..ef105c85 100644 --- a/server/tests/test_transcripts_process.py +++ b/server/tests/test_transcripts_process.py @@ -28,9 +28,9 @@ async def test_transcript_process( # upload mp3 response = await ac.post( - f"/transcripts/{tid}/record/upload", + f"/transcripts/{tid}/record/upload?chunk_number=0&total_chunks=1", files={ - "file": ( + "chunk": ( "test_short.wav", open("tests/records/test_short.wav", "rb"), "audio/mpeg",