mantimon-tcg/backend/tests/services
Cal Corum c00ee87f25 Switch to testcontainers for automatic test container management
- Create tests/conftest.py with testcontainers for Postgres and Redis
- Auto-detect Docker Desktop socket and disable Ryuk for compatibility
- Update tests/db/conftest.py and tests/services/conftest.py to use shared fixtures
- Fix test_resolve_effect_logs_exceptions: logger was disabled by pytest
- Fix test_save_and_load_with_real_redis: use redis_url fixture
- Minor lint fix in engine_validation.py

Tests now auto-start containers on run - no need for `docker compose up`
All 1199 tests passing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 16:49:11 -06:00
..
oauth Implement Phase 2: Authentication system 2026-01-27 21:49:59 -06:00
__init__.py Add GameStateManager service with Redis/Postgres dual storage 2026-01-27 10:59:58 -06:00
conftest.py Switch to testcontainers for automatic test container management 2026-01-28 16:49:11 -06:00
test_card_service.py Add CardService and card data conversion pipeline 2026-01-27 14:16:40 -06:00
test_collection_service.py Fix security and validation issues from code review 2026-01-28 14:16:07 -06:00
test_deck_service.py Fix medium priority issues from code review 2026-01-28 14:32:08 -06:00
test_game_state_manager.py Switch to testcontainers for automatic test container management 2026-01-28 16:49:11 -06:00
test_jwt_service.py Implement Phase 2: Authentication system 2026-01-27 21:49:59 -06:00
test_user_service.py Fix OAuth absolute URLs and add account linking endpoints 2026-01-27 22:06:22 -06:00