Fixed failing test caught by pre-commit hook. The test was not properly mocking dependencies in the resolve_play command. Changes: - Added mock for state_manager.get_state() to return valid state - Added mock for random.choice() to return deterministic PlayOutcome - Updated assertion to expect auto-generated outcome (SINGLE_1) - Test now properly validates the auto-outcome behavior for terminal testing Root cause: resolve_play() checks state_manager early and auto-generates a random outcome for testing when no forced outcome is provided. Test was not accounting for either behavior. All 731 unit tests now passing (100%). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| config | ||
| core | ||
| models | ||
| services | ||
| terminal_client | ||
| utils | ||
| websocket | ||
| __init__.py | ||