Checkpoint 7
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
"""Pytest configuration — ensure the project root is on ``sys.path``."""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
_PROJECT_ROOT = os.path.normpath(os.path.join(os.path.dirname(__file__), ".."))
|
||||
if _PROJECT_ROOT not in sys.path:
|
||||
sys.path.insert(0, _PROJECT_ROOT)
|
||||
Reference in New Issue
Block a user