diff options
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 9befeb7a..027955c8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,7 +1,11 @@ +# SPDX-License-Identifier: MIT + import os import sys from pathlib import Path +import pytest + tests_dir = Path(__file__).parent.resolve() sys.path.insert(0, str(tests_dir)) @@ -14,3 +18,13 @@ try: except ImportError: pass + + +def pytest_addoption(parser: pytest.Parser): + parser.addoption( + "--layout-compat-config", + action="append", + default=[], + type=Path, + help="List of layout compatibility files", + ) |