Files
faster-whisper/tests/conftest.py
2024-09-12 00:49:31 +08:00

14 lines
223 B
Python

import os
import pytest
@pytest.fixture
def data_dir():
return os.path.join(os.path.dirname(os.path.abspath(__file__)), "data")
@pytest.fixture
def jfk_path(data_dir):
return os.path.join(data_dir, "jfk.flac")