13 lines
365 B
Python
13 lines
365 B
Python
"""Test bootstrap helpers
|
|
|
|
This file ensures the repository root is on sys.path for pytest so local
|
|
packages like 'meshviz' are importable in all environments.
|
|
"""
|
|
import os
|
|
import sys
|
|
|
|
# Ensure the repo root is in sys.path so tests can import meshviz directly
|
|
ROOT = os.path.abspath(os.path.dirname(__file__))
|
|
if ROOT not in sys.path:
|
|
sys.path.insert(0, ROOT)
|