From c3ffe27383b3cc3c995ff9ed26b526e69053f78c Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 29 Jul 2026 11:10:54 -0700 Subject: [PATCH] test: align doctor spawn fixture with stricter health_report validation The #74187 doctor fallback requires a checks list in schema_version=1 payloads; add it to the salvaged Windows console-hiding test fixture. --- tests/computer_use/test_cua_spawn_env_sanitization.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/computer_use/test_cua_spawn_env_sanitization.py b/tests/computer_use/test_cua_spawn_env_sanitization.py index dbf7353f1c5..6896bee808b 100644 --- a/tests/computer_use/test_cua_spawn_env_sanitization.py +++ b/tests/computer_use/test_cua_spawn_env_sanitization.py @@ -200,7 +200,11 @@ def test_doctor_spawn_sanitizes_env_and_hides_console_on_windows(monkeypatch): "jsonrpc": "2.0", "id": 2, "result": { - "structuredContent": {"schema_version": "1", "overall": "ok"} + "structuredContent": { + "schema_version": "1", + "overall": "ok", + "checks": [], + } }, }), ]