tests/upload: use shorter audio

This commit is contained in:
2023-12-13 11:44:25 +01:00
parent f7f67521fc
commit 6585002dfa

View File

@@ -9,6 +9,7 @@ from httpx import AsyncClient
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_transcript_upload_file( async def test_transcript_upload_file(
tmpdir, tmpdir,
ensure_casing,
dummy_llm, dummy_llm,
dummy_processors, dummy_processors,
dummy_diarization, dummy_diarization,
@@ -29,8 +30,8 @@ async def test_transcript_upload_file(
f"/transcripts/{tid}/record/upload", f"/transcripts/{tid}/record/upload",
files={ files={
"file": ( "file": (
"test_mathieu_hello.mp3", "test_short.wav",
open("tests/records/test_mathieu_hello.mp3", "rb"), open("tests/records/test_short.wav", "rb"),
"audio/mpeg", "audio/mpeg",
) )
}, },