type: narrow optional results in integration tests

This commit is contained in:
lda
2026-08-29 19:02:40 +07:00 Verified
parent 96030a06fe
commit ac09a577a2
6 changed files with 67 additions and 33 deletions
@@ -34,7 +34,9 @@ def test_mcp_workflow_surface_example_runs_happy_path(tmp_path) -> None:
payload = asyncio.run(create_and_run_echo_deployment(tmp_path, text="hello"))
assert payload["status"] == "completed"
assert payload["output"]["echoed"] == "hello"
output = payload["output"]
assert output is not None
assert output["echoed"] == "hello"
assert payload["diagnostics"] == []