Classify national maritime source editions
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user