Files
mtusi2026lab2/tests/student-tests/_bootstrap.py
T

7 lines
241 B
Python

"""Shared path bootstrap so student tests can import tests/client.py."""
import sys
from pathlib import Path
TESTS_DIR = Path(__file__).resolve().parents[1] / "tests"
if str(TESTS_DIR) not in sys.path:
sys.path.insert(0, str(TESTS_DIR))