paper-dynasty-discord/command_logic
Cal Corum eb022c3d66
All checks were successful
Ruff Lint / lint (pull_request) Successful in 28s
test: mock-based integration tests for post-game refractor hook (#148)
Extract _run_post_game_refractor_hook() from complete_game() so the hook
logic can be tested directly without a live game session. Add 13 tests
covering endpoint ordering, tier-up notification dispatch, variant render
triggers, and non-fatal error handling.

Closes #148

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 08:34:50 -05:00
..
__init__.py fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00
logic_gameplay.py test: mock-based integration tests for post-game refractor hook (#148) 2026-04-08 08:34:50 -05:00
play_context.py fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00