major-domo-v2/tests
Cal Corum 4e75656225 hotfix: make ScorecardTracker methods async to match await callers
PR #106 added await to scorecard_tracker calls but the tracker
methods were still sync, causing TypeError in production:
- /scorebug: "object NoneType can't be used in 'await' expression"
- live_scorebug_tracker: "object list can't be used in 'await' expression"

Also fixes 5 missing awaits in cleanup_service.py and updates tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 13:37:47 -05:00
..
__init__.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00
conftest.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
factories.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_api_client.py fix: use targeted trailing slashes instead of universal (hotfix) 2026-03-09 17:50:58 -05:00
test_bot_maintenance_tree.py fix: replace broken @self.tree.interaction_check with MaintenanceAwareTree subclass 2026-03-17 12:25:01 -05:00
test_commands_charts.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_commands_dice.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_commands_dropadd.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_commands_profile_images.py feat: add is_admin() helper to utils/permissions.py (#55) 2026-03-09 09:37:22 -05:00
test_commands_soak.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_commands_teams_branding.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_commands_transactions.py Fix test suite failures across 18 files (785 tests passing) 2025-12-09 16:01:56 -06:00
test_commands_voice.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_commands_weather.py test: fix weather test expecting 4 embed fields instead of 5 2026-02-19 21:19:31 -06:00
test_config.py fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
test_constants.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_dropadd_integration.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_exceptions.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
test_injury_ownership.py feat: add team ownership verification to /injury set-new and /injury clear (closes #18) 2026-03-01 16:59:58 -06:00
test_models_custom_command.py fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
test_models_help_command.py fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
test_models_play.py fix: key plays score text shows "tied at X" instead of "Team up X-X" (closes #48) 2026-03-01 15:36:38 -06:00
test_models_trade.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_models_transaction.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_models.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_roster_validation_org_affiliates.py fix: roster validation now includes org affiliate transactions (closes #49) 2026-03-01 10:45:21 -06:00
test_scorebug_bugs.py hotfix: make ScorecardTracker methods async to match await callers 2026-03-20 13:37:47 -05:00
test_services_base_service.py fix: add trailing slashes to all collection POST calls 2026-03-09 19:34:36 -05:00
test_services_custom_commands.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_services_draft_sheet.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_services_draft.py refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
test_services_help_commands.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_services_injury.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_services_integration.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
test_services_league_service.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_services_player_service.py Fix API parameter name: use 'demotion_week' instead of 'dem_week' 2026-02-01 21:27:52 -06:00
test_services_schedule.py refactor: use GameFactory/TeamFactory in schedule service tests 2026-03-20 10:05:28 -05:00
test_services_stats.py perf: replace sequential awaits with asyncio.gather() for true parallelism 2026-03-20 09:14:14 -05:00
test_services_team_service.py Fix test suite failures across 18 files (785 tests passing) 2025-12-09 16:01:56 -06:00
test_services_trade_builder.py fix: prefix trade validation errors with team abbreviation 2026-03-08 11:37:39 -05:00
test_services_transaction_builder.py fix: refresh roster data before validation to prevent stale cache 2026-03-02 21:06:00 +00:00
test_services_transaction.py test: implement test_validate_transaction_exception_handling (#35) 2026-03-05 02:04:34 -06:00
test_tasks_custom_command_cleanup.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_tasks_transaction_freeze.py fix: use explicit America/Chicago timezone for freeze/thaw scheduling 2026-02-22 16:00:22 -06:00
test_transactions_integration.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_utils_autocomplete.py perf: cache user team lookup in player_autocomplete, reduce limit to 25 2026-03-20 08:34:32 -05:00
test_utils_decorators.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_utils_draft_helpers.py Fix draft cap validation using max_zeroes logic 2025-12-12 21:42:42 -06:00
test_utils_helpers.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_utils_logging.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_utils_mentions.py Fix custom command mentions not triggering notifications 2026-01-28 15:45:38 -06:00
test_utils_scorebug_helpers.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_utils_timezone.py fix: use explicit America/Chicago timezone for freeze/thaw scheduling 2026-02-22 16:00:22 -06:00
test_views_custom_commands.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
test_views_injury_modals.py refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
test_views_transaction_embed.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
TRANSACTION_TEST_COVERAGE.md CLAUDE: Complete dice command system with fielding mechanics 2025-09-24 22:30:31 -05:00