mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-08 16:02:20 +02:00
test: isolate pytest runtime defaults across workers and runs
This commit is contained in:
@@ -3,7 +3,8 @@ import tempfile
|
||||
from services.stt.stt_service import STTService
|
||||
|
||||
|
||||
def test_stt_local_transcribe_leak_on_error():
|
||||
def test_stt_local_transcribe_leak_on_error(tmp_path, monkeypatch):
|
||||
monkeypatch.setattr(tempfile, "tempdir", str(tmp_path))
|
||||
service = STTService()
|
||||
|
||||
class MockWhisper:
|
||||
|
||||
Reference in New Issue
Block a user