gabriel / muse public
fix tests dev
AI Agent gabriel · 52 days ago · Apr 20, 2026 · Diff

fix(tests): correct mock targets in test_cli_hub.py

Hub CLI commands import _hub_api, _get_hub_and_identity, and _resolve_repo_id inside function bodies via 'from muse.cli.commands.hub import ...'. Patching these as attributes on the importing module (repos, issues) has no effect. Correct all targets to muse.cli.commands.hub.* and add missing _get_hub_and_identity mocks to TestHubRepoListCommand and TestHubRepoReadCommand.

sha256:a4f7a157e357d174f897d5c618bf215b3680e8489eba9c73f6ce363d5918c66a sha
sha256:69b57e014622983dcfde78afe1fd9816a59dd8cc1464fe8d5fc2b751535bd451 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:a4f7a157e357d174f897d5c618bf215b3680e8489eba9c73f6ce363d5918c66a --body "your comment"