mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-07-09 17:28:35 +00:00
test: mock browser prep in chat endpoint integration
This commit is contained in:
parent
9a47071157
commit
f033c50f9a
1 changed files with 4 additions and 0 deletions
|
|
@ -488,6 +488,10 @@ class TestChatControllerIntegration:
|
|||
) as mock_step_solve,
|
||||
patch("app.controller.chat_controller.load_dotenv"),
|
||||
patch("app.controller.chat_controller.set_current_task_id"),
|
||||
patch(
|
||||
"app.controller.chat_controller._prepare_browser_for_request_with_timeout",
|
||||
new=AsyncMock(return_value=True),
|
||||
),
|
||||
patch("pathlib.Path.mkdir"),
|
||||
patch("pathlib.Path.home", return_value=MagicMock()),
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue