mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-05-12 18:04:43 +00:00
fix(tests): update import path for benchmark tests to ensure correct module loading
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user