test: drop unused fake exception helper
PR Checks / Frontend Typecheck + Tests (pull_request) Successful in 9m41s
PR Checks / Backend Smoke (pull_request) Successful in 6s
PR Checks / Build Backend (no push) (pull_request) Successful in 17s
PR Checks / Build Frontend (no push) (pull_request) Successful in 47s
PR Checks / Build Pipeline (no push) (pull_request) Successful in 53s
PR Checks / AI Code Review (Claude) (pull_request) Successful in 3m17s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Tudor
2026-07-07 13:36:01 +01:00
co-authored by Claude Fable 5
parent a524cdc591
commit 4d226fd616
-5
View File
@@ -121,11 +121,6 @@ def test_detail_payload_serializes_numpy_bool(monkeypatch):
assert resp.json()["school_info"]["has_sixth_form"] is True assert resp.json()["school_info"]["has_sixth_form"] is True
class _FakeProgrammingError(Exception):
"""Stand-in for sqlalchemy.exc.ProgrammingError wrapping psycopg2's
UndefinedColumn, without needing a real DB connection to construct one."""
def test_load_school_data_survives_missing_has_sixth_form_column(monkeypatch): def test_load_school_data_survives_missing_has_sixth_form_column(monkeypatch):
"""Real prod state until the nightly pipeline first rebuilds the mart: """Real prod state until the nightly pipeline first rebuilds the mart:
marts.dim_school lacks has_sixth_form entirely. The first query raises marts.dim_school lacks has_sixth_form entirely. The first query raises