Files
neuron-tai/conftest.py
2026-06-29 00:28:29 +03:00

20 lines
425 B
Python

"""Root conftest: add all package source directories to sys.path for pytest discovery."""
import pathlib
import sys
_root = pathlib.Path(__file__).parent
_packages = [
"packages/node",
"packages/gateway",
"packages/tracker",
"packages/sdk",
"packages/contracts",
"packages/p2p",
]
for _pkg in _packages:
_path = str(_root / _pkg)
if _path not in sys.path:
sys.path.insert(0, _path)