fix: retain WALOUS edition warnings
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-22 06:37:05 +02:00
parent f543138712
commit 107099c101
3 changed files with 26 additions and 5 deletions
@@ -499,7 +499,11 @@ def test_walous_temporal_comparison_reuses_persisted_raster_metrics(
}
],
},
"limitation_message": "Cell-based estimate.",
"limitation_message": (
"2018 crosswalk and methodology limitation."
if dataset_id == earlier.id
else "2023 edition accuracy limitation."
),
}
monkeypatch.setattr(WalousLandCoverService, "analyze", analyze)
@@ -523,6 +527,8 @@ def test_walous_temporal_comparison_reuses_persisted_raster_metrics(
assert result.metric.later_value == 5.5
assert result.metric.absolute_change == 1.5
assert result.object_changes.available is False
assert "2018 crosswalk and methodology limitation." in result.warnings
assert "2023 edition accuracy limitation." in result.warnings
def test_walous_api_routes_use_canonical_envelopes(monkeypatch) -> None: