left4me/l4d2web/tests
mwiegand c6b41429ee
feat(l4d2-web): steam workshop API client and downloader
Adds l4d2web/services/steam_workshop.py: parse_workshop_input (single ID,
URL, or multi-line batch), resolve_collection (HTTPS POST to
GetCollectionDetails), fetch_metadata_batch (HTTPS POST to
GetPublishedFileDetails with consumer_app_id == 550 enforcement that
raises WorkshopValidationError in add-mode and silently skips in
refresh-mode), download_to_cache (atomic + idempotent on mtime+size),
and refresh_all (ThreadPoolExecutor with per-item error collection).

Adds requests as an explicit dependency.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 16:37:39 +02:00
..
test_auth.py security: harden boundary inputs and production defaults 2026-05-07 00:53:33 +02:00
test_blueprints.py feat(web): forms in modals, edit/delete on detail pages, port auto-assign 2026-05-07 01:30:33 +02:00
test_config.py config: allow SESSION_COOKIE_SECURE override and disable on test deploy 2026-05-07 00:56:48 +02:00
test_health.py security: harden boundary inputs and production defaults 2026-05-07 00:53:33 +02:00
test_host_commands.py fix(host): enforce flush=True to prevent pipeline block buffering 2026-05-06 20:34:41 +02:00
test_job_logs.py feat(l4d2-web): execute queued lifecycle jobs 2026-05-06 14:08:18 +02:00
test_job_worker.py feat(web): add boundary log lines to job worker execution 2026-05-06 20:18:23 +02:00
test_l4d2_facade.py feat(deploy): add production-like test deployment 2026-05-06 19:30:10 +02:00
test_models.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
test_overlays.py feat(web): forms in modals, edit/delete on detail pages, port auto-assign 2026-05-07 01:30:33 +02:00
test_pages.py feat(l4d2-web): add server creation form 2026-05-06 19:41:04 +02:00
test_security.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
test_servers.py feat(web): blueprint-prefilled create-server flow + empty-state CTA 2026-05-07 01:47:33 +02:00
test_status_and_server_logs.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
test_steam_workshop.py feat(l4d2-web): steam workshop API client and downloader 2026-05-07 16:37:39 +02:00
test_workshop_overlay_models.py feat(l4d2-web): typed overlays + workshop schema migration 2026-05-07 16:35:13 +02:00