mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
tests/upload: use shorter audio
This commit is contained in:
@@ -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",
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user