Debian Codegraph @

tests/conftest.py

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 import pytest
2 from sphinx.testing.path 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.abspath() / "roots"