diff --git a/tests/test_cli_entrypoint.py b/tests/test_cli_entrypoint.py index 364e4911d2..88959da9eb 100644 --- a/tests/test_cli_entrypoint.py +++ b/tests/test_cli_entrypoint.py @@ -355,6 +355,7 @@ def test_doctor_dispatch_preserves_owner_flags_and_failure( import contextlib import io import json +from pathlib import Path import loopx.cli_commands.doctor as owner from {module} import main @@ -369,7 +370,13 @@ def collect(**kwargs): code = main(["--format", "markdown", "doctor", "--format", "json", "--deep", "--installation-only"]) assert code == {0 if healthy else 1} -assert observed == [{{"deep": True, "agent_type": None, "installation_only": True}}] +assert observed == [{{ + "deep": True, + "agent_type": None, + "installation_only": True, + "registry_path": Path(".loopx/registry.json"), + "runtime_root_override": None, +}}] assert json.loads(output.getvalue()) == {{"ok": {healthy!r}, "scope": "installation_only"}} """ completed = run_isolated_script(script)