1 2 3 4 5 6
import pytest @pytest.fixture(scope="session") def test_dir(pytestconfig): return pytestconfig.rootdir / "tests"