11 lines
304 B
Python
11 lines
304 B
Python
import sys
|
|
import os
|
|
|
|
# Ensure the repository root is on sys.path so tests can import local packages
|
|
ROOT = os.path.dirname(os.path.abspath(__file__))
|
|
GET_CWD = os.path.abspath(os.getcwd())
|
|
if ROOT not in sys.path:
|
|
sys.path.insert(0, ROOT)
|
|
if GET_CWD not in sys.path:
|
|
sys.path.insert(0, GET_CWD)
|