test: more t1.9 minor edits (gcli_adapter patches, comments)

Drop the remaining _update_gcli_adapter monkeypatches from
test_ai_loop_regressions_20260614 (3 sites), test_live_gui_integration_v2
(2 sites), and the gemini_cli_adapter comment references in
tests/test_ai_client_tool_loop_send_func.py, test_lazymodule_filedialog_fallback.py,
and mock_concurrent_mma.py.
This commit is contained in:
ed
2026-07-05 20:00:20 -04:00
parent edebeac619
commit 9401d3f67d
5 changed files with 12 additions and 17 deletions
+2 -4
View File
@@ -29,8 +29,7 @@ def test_user_request_integration_flow(mock_app: App) -> None:
patch('src.ai_client.send', return_value=Result(data=mock_response)) as mock_send,
patch('src.ai_client.set_custom_system_prompt'),
patch('src.ai_client.set_model_params'),
patch('src.ai_client.set_agent_tools'),
patch('src.app_controller.AppController._update_gcli_adapter')
patch('src.ai_client.set_agent_tools')
):
# 1. Create and push a UserRequestEvent
event = UserRequestEvent(
@@ -88,8 +87,7 @@ def test_user_request_error_handling(mock_app: App) -> None:
patch('src.ai_client.send', return_value=Result(data="", errors=[err])),
patch('src.ai_client.set_custom_system_prompt'),
patch('src.ai_client.set_model_params'),
patch('src.ai_client.set_agent_tools'),
patch('src.app_controller.AppController._update_gcli_adapter')
patch('src.ai_client.set_agent_tools')
):
event = UserRequestEvent(
prompt="Trigger Error",