diff --git a/backend/tests/test_sixth_form_flag.py b/backend/tests/test_sixth_form_flag.py index fb7c34c..af32799 100644 --- a/backend/tests/test_sixth_form_flag.py +++ b/backend/tests/test_sixth_form_flag.py @@ -121,11 +121,6 @@ def test_detail_payload_serializes_numpy_bool(monkeypatch): 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): """Real prod state until the nightly pipeline first rebuilds the mart: marts.dim_school lacks has_sixth_form entirely. The first query raises