paper-dynasty-discord/tests
Cal Corum b04219d208 feat: WP-13 post-game callback hook for season stats and evolution
After complete_game() saves the game result and posts rewards, fire two
non-blocking API calls in order:
  1. POST season-stats/update-game/{game_id}
  2. POST evolution/evaluate-game/{game_id}

Any failure in the evolution block is caught and logged as a warning —
the game is already persisted so evolution will self-heal on the next
evaluate pass. A notify_tier_completion stub is added as a WP-14 target.

Closes #78 on cal/paper-dynasty-database

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 14:52:36 -05:00
..
command_logic fix: preserve batter at plate when half-inning ends on caught stealing 2026-02-10 22:37:42 -06:00
gameplay_models Catchup commit 2025-07-22 09:22:19 -05:00
in_game Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
other Added AbRoll and JumpRoll 2024-11-17 14:57:54 -06:00
players_refactor fix: invoke actual cog callback in test_error_handling_and_logging (#39) 2026-03-09 13:22:58 +00:00
scouting fix: add missing week field to scout reward POST 2026-03-09 10:20:23 -05:00
conftest.py Catchup commit 2025-07-22 09:22:19 -05:00
factory.py Catchup files 2025-11-11 13:22:06 -06:00
test_api_calls.py Add API timeout/retry logic and fix get_team_by_owner for PostgreSQL 2026-01-31 15:52:14 -06:00
test_complete_game_hook.py feat: WP-13 post-game callback hook for season stats and evolution 2026-03-23 14:52:36 -05:00
test_evolution_notifications.py feat: tier completion notification embeds (WP-14) (#79) 2026-03-13 17:34:14 -05:00
test_play_locking.py fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00