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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user