feat: scaffold meshnet monorepo
This commit is contained in:
19
conftest.py
Normal file
19
conftest.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""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)
|
||||
Reference in New Issue
Block a user