feat: drive sixth-form separation from GIAS OfficialSixthForm flag #21
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user