From 83cb296cdc7922132eb1b5765e3da0f10332be38 Mon Sep 17 00:00:00 2001 From: Ilya Gusev Date: Mon, 15 Jun 2026 11:58:18 +0000 Subject: [PATCH] style(test): match existing single-line result-dict style Keep the Keenable search test consistent with the surrounding mocks (test_tavily/test_brave) rather than introducing a multi-line outlier. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/tools/test_web_search_tool.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/tools/test_web_search_tool.py b/tests/tools/test_web_search_tool.py index 6423f077..169295e2 100644 --- a/tests/tools/test_web_search_tool.py +++ b/tests/tools/test_web_search_tool.py @@ -145,12 +145,7 @@ async def test_keenable_search(monkeypatch): assert kw["headers"]["X-API-Key"] == "keen-key" assert kw["headers"]["User-Agent"].startswith("nanobot/") return _response(json={ - "results": [{ - "title": "Keen", - "url": "https://keenable.ai", - "description": "short", - "snippet": "longer excerpt", - }] + "results": [{"title": "Keen", "url": "https://keenable.ai", "description": "short", "snippet": "longer excerpt"}] }) monkeypatch.setattr(httpx.AsyncClient, "post", mock_post)