workspace / tests /test_A /conftest.py
AntonioJun's picture
Replace tests with local workspace contents
e8055cf verified
Raw
History Blame Contribute Delete
267 Bytes
"""Shared import setup for harness.A tests."""
from pathlib import Path
import sys
ROOT = Path(__file__).resolve().parents[2]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
def pytest_configure(config):
config.option.importmode = "importlib"