| 1 |
import pytest |
| •2 |
from pathlib import Path |
| 3 |
|
| 4 |
pytest_plugins = "sphinx.testing.fixtures" |
| 5 |
|
| 6 |
# Exclude 'roots' dirs for pytest test collector |
| 7 |
collect_ignore = ["roots"] |
| 8 |
|
| 9 |
|
| 10 |
@pytest.fixture(scope="session") |
| 11 |
def rootdir(): |
| •12 |
return Path(__file__).parent / "roots" |