fix(tests): add mods/sdk to sys.path in test_kindred_pure #265

Merged
forbes merged 1 commits from fix/test-sdk-path into main 2026-02-17 18:53:26 +00:00
Owner

The SDK migration (#250) moved kindred_sdk into mods/sdk/ but the test file was not updated with the new path, causing ModuleNotFoundError: No module named 'kindred_sdk' in CI.

Adds sys.path.insert(0, str(_REPO_ROOT / "mods" / "sdk")) alongside the existing addon source paths.

All 78 tests pass.

The SDK migration (#250) moved `kindred_sdk` into `mods/sdk/` but the test file was not updated with the new path, causing `ModuleNotFoundError: No module named 'kindred_sdk'` in CI. Adds `sys.path.insert(0, str(_REPO_ROOT / "mods" / "sdk"))` alongside the existing addon source paths. All 78 tests pass.
forbes added 1 commit 2026-02-17 18:51:25 +00:00
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
a1105c9d80
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.
forbes merged commit 4510ace7b9 into main 2026-02-17 18:53:26 +00:00
forbes deleted branch fix/test-sdk-path 2026-02-17 18:53:27 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#265