This commit is contained in:
Tiara Rodney 2025-06-21 00:46:41 +02:00
parent 19813d4d45
commit 5c2fb8c32b
No known key found for this signature in database
GPG key ID: 5F43FAB4FBE5B5EB
20 changed files with 371 additions and 22 deletions

View file

@ -0,0 +1,17 @@
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