Files
galvani/tests/conftest.py

14 lines
291 B
Python

"""Helpers for pytest tests."""
# SPDX-FileCopyrightText: 2019 Christopher Kerr <chris.kerr@mykolab.ch>
import os
import pytest
@pytest.fixture(scope='session')
def testdata_dir():
"""Path to the testdata directory."""
return os.path.join(os.path.dirname(__file__), 'testdata')