Files
geointel/backend/tests/test_sprint98_raster_workflow_smoke.py
Jens faeb58ef6d
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
Initial public release
2026-08-31 21:56:53 +02:00

28 lines
1.0 KiB
Python

from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
def test_demo_raster_workflow_smoke_is_registered_and_checks_core_raster_path() -> None:
script_path = ROOT / "scripts" / "verify_demo_raster_workflow.sh"
readiness = (ROOT / "scripts" / "run_readiness_check.sh").read_text(encoding="utf-8")
assert script_path.exists()
script = script_path.read_text(encoding="utf-8")
assert "bash -n scripts/verify_demo_raster_workflow.sh" in readiness
assert "/api/v1/demo/workflow" in script
assert "data.raster_dataset_id" in script
assert "/raster/inspect" in script
assert "/raster/preview" in script
assert "/raster/stats" in script
assert "/raster/tile" in script
assert "demo_context_raster.tif" in script
assert "EPSG:4326" in script
assert "manifest_path" in script
assert "tile_paths" in script
assert "raster.tile" in script
assert "{\"success\", \"completed\"}" in script
assert "Response is not a canonical GeoIntel data envelope" in script