test(honcho): stub the three-tuple _get_or_create_honcho_session return

The session manager now returns observation flags as a third value.
The user-id scoping test still stubbed the old two-tuple and failed to unpack.
This commit is contained in:
Erosika
2026-09-08 10:43:23 -04:00
committed by kshitij
parent c04722102f
commit 58b117ed5b
+1 -1
View File
@@ -222,7 +222,7 @@ class TestHonchoUserIdScoping:
with patch.object(manager, "_get_or_create_peer", return_value=MagicMock()), patch.object(
manager,
"_get_or_create_honcho_session",
return_value=(MagicMock(), []),
return_value=(MagicMock(), [], None),
):
session = manager.get_or_create("discord:channel-1")