mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-29 06:31:32 +00:00
test(gateway): include direct_messages_topic_id in telegram DM metadata assertions
This commit is contained in:
parent
06924e827c
commit
dfc6ea72c1
3 changed files with 3 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ class TestRunBackgroundTask:
|
|||
assert mock_adapter.send.call_args.kwargs["metadata"] == {
|
||||
"thread_id": "20197",
|
||||
"telegram_dm_topic_reply_fallback": True,
|
||||
"direct_messages_topic_id": "20197",
|
||||
"telegram_reply_to_message_id": "463",
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -408,6 +408,7 @@ async def test_gateway_runner_busy_ack_replies_to_triggering_message_for_telegra
|
|||
assert adapter.calls[0]["metadata"] == {
|
||||
"thread_id": "20197",
|
||||
"telegram_dm_topic_reply_fallback": True,
|
||||
"direct_messages_topic_id": "20197",
|
||||
"telegram_reply_to_message_id": "463",
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -461,6 +461,7 @@ class TestSendVoiceReply:
|
|||
assert call_kwargs["metadata"] == {
|
||||
"thread_id": "20197",
|
||||
"telegram_dm_topic_reply_fallback": True,
|
||||
"direct_messages_topic_id": "20197",
|
||||
"telegram_reply_to_message_id": "462",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue