Paper Dynasty Database - PostgreSQL database service
Go to file
Cal Corum 64be5eabdc feat: add initial test suite with pytest (#28)
- Add SQLITE_DB_PATH env var to db_engine.py for test isolation
- Create tests/conftest.py with in-memory SQLite fixture and sample data helpers
- Add tests/test_dependencies.py: unit tests for valid_token, mround, param_char, get_req_url
- Add tests/test_card_pricing.py: tests for Player.change_on_sell/buy and get_all_pos
- Add tests/test_api_packs.py: integration tests for GET/POST/DELETE /api/v2/packs
- Add requirements-test.txt with pytest and httpx
- Add test job to CI workflow (build now requires tests to pass first)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 16:35:53 -06:00
.gitea/workflows feat: add initial test suite with pytest (#28) 2026-03-04 16:35:53 -06:00
app feat: add initial test suite with pytest (#28) 2026-03-04 16:35:53 -06:00
docs Remove deprecated legacy files and reorganize documentation 2026-02-05 13:34:09 -06:00
scripts Add production deployment config and fix stringified list parsing 2026-01-30 14:03:07 -06:00
storage/templates Add missing card templates for PostgreSQL deployment 2026-02-01 19:18:04 -06:00
tests feat: add initial test suite with pytest (#28) 2026-03-04 16:35:53 -06:00
.dockerignore Add .dockerignore 2026-01-30 22:47:07 -06:00
.env fix: correct inverted TESTING env check and leading space in .env (#23) 2026-03-03 21:43:54 +00:00
.env.example CLAUDE: Add .env.example with comprehensive configuration guide 2025-11-07 11:53:23 -06:00
.gitignore ci: Use Gitea API for tag creation to avoid branch protection issues 2026-02-17 17:23:21 -06:00
CLAUDE.md docs: add next-release branch workflow to CLAUDE.md 2026-03-03 10:56:03 -06:00
compose.production.yml Add production deployment config and fix stringified list parsing 2026-01-30 14:03:07 -06:00
docker-compose.yml CLAUDE: Comment out API service - prevents race condition in db_engine.py 2025-11-07 14:07:13 -06:00
Dockerfile 2005 Live Series Updates 2025-11-08 18:25:08 -06:00
LICENSE Initial commit 2023-02-19 21:38:07 -06:00
requirements-test.txt feat: add initial test suite with pytest (#28) 2026-03-04 16:35:53 -06:00
requirements.txt Merge branch 'main' into postgres-migration 2026-01-25 22:53:35 -06:00
VERSION Bump version to 1.5.5 2026-02-04 08:48:12 -06:00