feat: drive sixth-form separation from GIAS OfficialSixthForm flag #21

Merged
tudor merged 10 commits from feat/gias-sixth-form-flag into main 2026-07-07 13:48:12 +00:00
Showing only changes of commit 4d226fd616 - Show all commits
-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
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