fix(tests): add mods/sdk to sys.path in test_kindred_pure
All checks were successful
Build and Test / build (pull_request) Successful in 28m20s
All checks were successful
Build and Test / build (pull_request) Successful in 28m20s
The SDK migration (#250) moved kindred_sdk into mods/sdk/ but the test file was not updated with the new path, causing ModuleNotFoundError when importing kindred_sdk.
This commit is contained in:
@@ -98,6 +98,7 @@ sys.modules["silo_client._ssl"] = mock.MagicMock()
|
|||||||
|
|
||||||
# Add addon source paths
|
# Add addon source paths
|
||||||
sys.path.insert(0, str(_REPO_ROOT / "src" / "Mod" / "Create"))
|
sys.path.insert(0, str(_REPO_ROOT / "src" / "Mod" / "Create"))
|
||||||
|
sys.path.insert(0, str(_REPO_ROOT / "mods" / "sdk"))
|
||||||
sys.path.insert(0, str(_REPO_ROOT / "mods" / "ztools" / "ztools"))
|
sys.path.insert(0, str(_REPO_ROOT / "mods" / "ztools" / "ztools"))
|
||||||
sys.path.insert(0, str(_REPO_ROOT / "mods" / "silo" / "freecad"))
|
sys.path.insert(0, str(_REPO_ROOT / "mods" / "silo" / "freecad"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user