diff --git a/tests/backend/run_comprehensive_benchmarks.py b/tests/backend/run_comprehensive_benchmarks.py index 19b8c79..1144896 100644 --- a/tests/backend/run_comprehensive_benchmarks.py +++ b/tests/backend/run_comprehensive_benchmarks.py @@ -8,8 +8,8 @@ import sys import tempfile import time -# Ensure we can import meshchatx -sys.path.append(os.getcwd()) +_REPO_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")) +sys.path.insert(0, _REPO_ROOT) import json