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.
This commit is contained in:
Teknium 2026-07-16 19:52:01 -07:00
parent 04d84df63c
commit b170f522a4

View file

@ -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):