Classify national maritime source editions
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-18 07:37:28 +02:00
parent 6a72c14c57
commit 22fb8d51a9
2 changed files with 14 additions and 0 deletions
@@ -317,6 +317,17 @@ def test_source_family_report_covers_national_regional_and_maritime(
}
def test_national_and_maritime_sources_have_explicit_freshness_policies() -> None:
from app.services.source_freshness_service import SOURCE_POLICIES
for source_name in (
"ngi_adminvector",
"rbins_marine_reporting_units",
"rbins_msp_2026",
):
assert SOURCE_POLICIES[source_name].refresh_policy == "edition"
def test_cleanup_commands_require_backup_confirmation_and_read_only_mount() -> None:
generic = (SCRIPTS / "cleanup_storage_artifacts.py").read_text(encoding="utf-8")
demo = (ROOT / "backend/scripts/cleanup_demo_artifacts.py").read_text(encoding="utf-8")