commitment-os / conftest.py
jayantaggarwal-sketch
CommitmentOS: temporal commitment coherence RL environment
6762657
raw
history blame contribute delete
282 Bytes
"""Pytest configuration — ensures the project root is on sys.path for all tests."""
from __future__ import annotations
import sys
from pathlib import Path
PROJECT_ROOT = str(Path(__file__).resolve().parent)
if PROJECT_ROOT not in sys.path:
sys.path.insert(0, PROJECT_ROOT)