EP_inspection_tool_proto/tests/conftest.py

5 lines
220 B
Python

import os, sys
# Add project root to sys.path so that imports like `from utils import ...` work
root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
if root not in sys.path:
sys.path.insert(0, root)