The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(bot-screen): fixtures follow the integrated contracts (provenance fence, claimed install slot)
teknium1f5cb1535589d
diff --git a/tests/tools/test_bot_desktop_browser.py b/tests/tools/test_bot_desktop_browser.pyindex 2cfdc5523b4..451702e2c4f 100644--- a/tests/tools/test_bot_desktop_browser.py+++ b/tests/tools/test_bot_desktop_browser.py@@ -80,7 +80,7 @@ def test_agent_attaches_to_human_started_browser(monkeypatch):monkeypatch.setattr(session, "_spawn_and_collect", spawn)monkeypatch.setattr(session._lp, "_lightpanda_fallback_reason", lambda *a: None)- info = {"session_name": "h_abc", "cdp_url": None}+ info = {"session_name": "h_abc", "cdp_url": None, "features": {"local": True}}monkeypatch.setattr(browser, "running_instance_cdp_port", lambda d, **kw: 41234)session._run_browser_command_unfenced("t", "open", ["https://x"], 10, None, "agent-browser", info)diff --git a/tests/tui_gateway/test_display_methods.py b/tests/tui_gateway/test_display_methods.pyindex 67a6f207f08..4998946b47f 100644--- a/tests/tui_gateway/test_display_methods.py+++ b/tests/tui_gateway/test_display_methods.py@@ -24,7 +24,7 @@ def test_install_worker_keeps_the_requested_profile_scope(tmp_path, monkeypatch)seen = {}done = threading.Event()- def fake_install(*, ask_password, on_line, timeout_seconds=900.0):+ def fake_install(*, ask_password, on_line, timeout_seconds=900.0, claimed=False):seen["home"] = str(get_hermes_home())done.set()return 0