From 52b9cca367b64a863ede10f89d443b0a4e8805f8 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sat, 2 May 2026 06:06:04 -0500 Subject: [PATCH] fix(tests): update import path for benchmark tests to ensure correct module loading --- tests/backend/run_comprehensive_benchmarks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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