refactor: flatten app/scoreboard/ subpackage and rename files for clarity
All checks were successful
CI / Lint (push) Successful in 5s
CI / Test (push) Successful in 6s
CI / Build & Push (push) Successful in 16s

This commit is contained in:
2026-03-29 10:16:35 -04:00
parent da277e41a4
commit a4dc7dff52
11 changed files with 11 additions and 12 deletions

View File

@@ -81,10 +81,10 @@ def flask_client(tmp_path, monkeypatch):
# Patch module-level path constants so no reloads are needed
import app.routes as routes
import app.scoreboard.process_data as process_data
import app.games as games
monkeypatch.setattr(routes, "SCOREBOARD_DATA_FILE", str(scoreboard_file))
monkeypatch.setattr(process_data, "DB_PATH", str(db_path))
monkeypatch.setattr(games, "DB_PATH", str(db_path))
from app import app as flask_app