Files
geointel/backend/tests/test_sprint98_raster_workflow_smoke.py
T
Codex 8855aa8390
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled
Record raster smoke live status handling
2026-06-23 01:50:47 +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