From b170f522a4a3612c88ee12dbde246e07fcdc68bc Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Thu, 16 Jul 2026 19:52:01 -0700 Subject: [PATCH] test(honcho): align observer-resolution test with post-#62290 call shape The salvaged test from PR #62982 asserted search_query=None as an explicit kwarg; current _fetch_peer_context omits search_query when None. --- tests/honcho_plugin/test_session.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/honcho_plugin/test_session.py b/tests/honcho_plugin/test_session.py index 5af504f40977..b9ea1c3b750f 100644 --- a/tests/honcho_plugin/test_session.py +++ b/tests/honcho_plugin/test_session.py @@ -396,9 +396,7 @@ class TestPeerLookupHelpers: "ai_card": "Role: Assistant", } assert assistant_peer.context.call_count == 2 - assistant_peer.context.assert_any_call( - target=session.user_peer_id, search_query=None, - ) + assistant_peer.context.assert_any_call(target=session.user_peer_id) assistant_peer.context.assert_any_call(target=session.assistant_peer_id) def test_get_ai_representation_uses_peer_api(self):