Harden RC7 API response contracts
This commit is contained in:
@@ -125,10 +125,15 @@ def test_quality_check_evidence_geojson_rejects_cross_project_access() -> None:
|
||||
def test_quality_check_evidence_geojson_api_uses_canonical_envelope(monkeypatch) -> None:
|
||||
project_id = uuid4()
|
||||
quality_check_id = uuid4()
|
||||
reference_dataset_id = uuid4()
|
||||
payload = {
|
||||
"quality_check_id": str(quality_check_id),
|
||||
"project_id": str(project_id),
|
||||
"candidate_dataset_id": None,
|
||||
"reference_dataset_id": str(reference_dataset_id),
|
||||
"analysis_run_id": None,
|
||||
"feature_count": 0,
|
||||
"warnings": [],
|
||||
"geojson": {"type": "FeatureCollection", "features": []},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user