- Fix TypeError in check_steal_opportunity by properly mocking catcher defense - Correct tag_from_third test calculation to account for all adjustment conditions - Fix pitcher replacement test by setting appropriate allowed runners threshold - Add comprehensive test coverage for AI service business logic - Implement VS Code testing panel configuration with pytest integration - Create pytest.ini for consistent test execution and warning management - Add test isolation guidelines and factory pattern implementation - Establish 102 passing tests with zero failures 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
services:
|
|
postgres:
|
|
image: postgres:15
|
|
container_name: pddev-postgres
|
|
environment:
|
|
POSTGRES_USER: paper_dynasty_user
|
|
POSTGRES_PASSWORD: paper_dynasty_dev_password
|
|
POSTGRES_DB: paper_dynasty
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ./scripts/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U paper_dynasty_user -d paper_dynasty"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
|
|
postgres-test:
|
|
image: postgres:15
|
|
container_name: pdtest-postgres
|
|
environment:
|
|
POSTGRES_USER: paper_dynasty_user
|
|
POSTGRES_PASSWORD: paper_dynasty_test_password
|
|
POSTGRES_DB: paper_dynasty_test
|
|
ports:
|
|
- "5434:5432"
|
|
volumes:
|
|
- postgres_test_data:/var/lib/postgresql/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U paper_dynasty_user -d paper_dynasty_test"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
|
|
volumes:
|
|
postgres_data:
|
|
postgres_test_data: |