sphinxcontrib/tests/integration/conftest.py
Tiara Rodney 5c2fb8c32b
dirty
2025-06-21 23:19:14 +02:00

17 lines
393 B
Python

from pathlib import Path
import pytest
pytest_plugins = ['byteb4rb1e.sphinxcontrib.testing.pytest.fixtures']
_TESTS_ROOT = Path(__file__).resolve().parent
def pytest_configure(config):
# register an additional marker
config.addinivalue_line(
"markers", "pytest: test pytest integration"
)
@pytest.fixture(scope='session')
def rootdir() -> Path:
return _TESTS_ROOT