Adds server_with_files fixture: seeds alice + a Blueprint + a Server row pinned to port 27015, then pre-creates LEFT4ME_ROOT/runtime/<server_id>/merged/ with a single seed file. The /servers/<id> page lists files from that merged directory (the kernel-overlayfs view of a running server), which never exists on dev/test boxes — without the pre-mkdir + seed, the page renders the empty-state branch instead of file rows. Server.port is a global UNIQUE constraint on the model, but every e2e test gets its own SQLite DB, so a fixed L4D2-default port is fine. Sets the stage for the Tier 3 hover-download test. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_editor.py | ||
| test_files_overlay.py | ||
| test_smoke.py | ||