- Add [matrix] optional dependencies section to pyproject.toml
(matrix-nio, mistune, nh3) to match error message guidance
- Fix test mock function signature to accept positional args
instead of keyword-only args (removed *,)
- Fix test assertions to handle optional metadata keys
using .get("attachments", []) instead of ["attachments"]
All 45 matrix channel tests now pass.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes matrix channel test collection error and 5 failing tests.
Changes
pip install nanobot-ai[matrix]*,).get("attachments", [])Result
All 45 matrix channel tests now pass (was: 5 failed, 40 passed).
🤖 Generated with Claude Code
- Add [matrix] optional dependencies section to pyproject.toml (matrix-nio, mistune, nh3) to match error message guidance - Fix test mock function signature to accept positional args instead of keyword-only args (removed *,) - Fix test assertions to handle optional metadata keys using .get("attachments", []) instead of ["attachments"] All 45 matrix channel tests now pass. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>Pull request closed