test: accept codex_bin kwarg in plugin-migration stub (stack on #115747)

This commit is contained in:
teknium1
2026-09-19 03:36:27 -07:00
parent 4fbd5a4710
commit 44ee30de42

View File

@@ -479,7 +479,7 @@ class TestSameNameUserMcpTable:
target.write_text('[mcp_servers.gbrain]\ncommand = "a"\n[mcp_servers.gbrain]\ncommand = "b"\n',
encoding="utf-8")
monkeypatch.setattr(crpm, "_query_codex_plugins",
lambda codex_home=None, timeout=8.0: ([], "plugin/list query failed"))
lambda codex_home=None, timeout=8.0, **_kw: ([], "plugin/list query failed"))
report = migrate({}, codex_home=tmp_path, discover_plugins=True, expose_hermes_tools=False)
assert "re-run `hermes codex-runtime migrate` to migrate plugins" in (report.plugin_query_error or "")
assert "existing config.toml was unloadable" in report.summary()