9 lines
256 B
Python
9 lines
256 B
Python
import os
|
|
import sys
|
|
|
|
|
|
# Ensure imports resolve against this custom node when pytest is launched elsewhere.
|
|
PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
|
if PROJECT_ROOT not in sys.path:
|
|
sys.path.insert(0, PROJECT_ROOT)
|