You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: test_slack_watchdog.py fails at collection due to relative path #341
tests/unit/test_slack_watchdog.py fails at pytest collection time with FileNotFoundError because it uses a relative path that only works when pytest is invoked from the project root.
Reproduction
cd tests && pytest unit/test_slack_watchdog.py
# FileNotFoundError: No such file or directory: '.../tests/src/backend/adapters/transports/slack_socket.py'
Error Details
FileNotFoundError: No such file or directory: '/Users/.../tests/src/backend/adapters/transports/slack_socket.py'
The file uses "src/backend/adapters/transports/slack_socket.py" in importlib.util.spec_from_file_location at line 64. This path resolves relative to the current working directory, not the file location.
Activity
fix: resolve 7 test failures for Epic #342
fix: resolve 7 test failures for Epic #342 (#343)
vybe commentedon Apr 16, 2026
Fixed in commit 4445193 (PR #343) — replaced relative path with
__file__-based path resolution for cross-directory test execution.