mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
tests: patch renamed CLI helper get_llm_extra_body in MCP settings tests
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
parent
ac055d9fcf
commit
c4f7fffd05
@ -42,7 +42,7 @@ def agent_store() -> AgentStore:
|
||||
# ---------------------- tests ----------------------
|
||||
|
||||
@patch("openhands_cli.tui.settings.store.get_default_tools", return_value=[])
|
||||
@patch("openhands_cli.tui.settings.store.get_llm_metadata", return_value={})
|
||||
@patch("openhands_cli.tui.settings.store.get_llm_extra_body", return_value={})
|
||||
def test_load_overrides_persisted_mcp_with_mcp_json_file(
|
||||
mock_meta,
|
||||
mock_tools,
|
||||
@ -88,7 +88,7 @@ def test_load_overrides_persisted_mcp_with_mcp_json_file(
|
||||
|
||||
|
||||
@patch("openhands_cli.tui.settings.store.get_default_tools", return_value=[])
|
||||
@patch("openhands_cli.tui.settings.store.get_llm_metadata", return_value={})
|
||||
@patch("openhands_cli.tui.settings.store.get_llm_extra_body", return_value={})
|
||||
def test_load_when_mcp_file_missing_ignores_persisted_mcp(
|
||||
mock_meta,
|
||||
mock_tools,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user