paper-dynasty-discord/tests
Cal Corum 3c0fa133fd refactor: Consolidate scouting utilities, add test suite, use Discord timestamps
- Consolidate SCOUT_TOKENS_PER_DAY and get_scout_tokens_used() into
  helpers/scouting.py (was duplicated across 3 files)
- Add midnight_timestamp() utility to helpers/utils.py
- Remove _build_scouted_ids() wrapper, use self.claims directly
- Fix build_scout_embed return type annotation
- Use Discord <t:UNIX:R> relative timestamps for scout window countdown
- Add 66-test suite covering helpers, ScoutView, and cog

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 13:22:58 +00: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 Added search functionality to /player command 2025-10-08 14:45:41 -05:00
scouting refactor: Consolidate scouting utilities, add test suite, use Discord timestamps 2026-03-09 13:22:58 +00: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_play_locking.py fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00