dirty
This commit is contained in:
parent
19813d4d45
commit
5c2fb8c32b
20 changed files with 371 additions and 22 deletions
17
tests/integration/conftest.py
Normal file
17
tests/integration/conftest.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue