conftest.py 328 Bytes
Newer Older
Sugon_ldc's avatar
Sugon_ldc committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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")


@pytest.fixture
def physcisworks_path(data_dir):
    return os.path.join(data_dir, "physicsworks.wav")