mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
- Fix duplicate 'timezone' import in e2e conftest - Fix test_text_before_command_not_detected asserting send() is awaited when no agent is present in mock setup (text messages don't produce command output)
This commit is contained in:
parent
353dc8d3ec
commit
36e8435d3e
2 changed files with 5 additions and 3 deletions
|
|
@ -204,6 +204,8 @@ AUTHOR_MAP = {
|
|||
"don.rhm@gmail.com": "donrhmexe",
|
||||
"dorukardahan@hotmail.com": "dorukardahan",
|
||||
"dsocolobsky@gmail.com": "dsocolobsky",
|
||||
"dylan.socolobsky@lambdaclass.com": "dsocolobsky",
|
||||
"ignacio.avecilla@lambdaclass.com": "IAvecilla",
|
||||
"duerzy@gmail.com": "duerzy",
|
||||
"emozilla@nousresearch.com": "emozilla",
|
||||
"fancydirty@gmail.com": "fancydirty",
|
||||
|
|
|
|||
|
|
@ -57,10 +57,10 @@ class TestMentionStrippedCommandDispatch:
|
|||
mentions=[bot_user],
|
||||
)
|
||||
await dispatch(discord_adapter, msg)
|
||||
# Message is accepted (not dropped), but not dispatched as a command
|
||||
discord_adapter.send.assert_awaited()
|
||||
# Message is accepted (not dropped by mention gate), but since it doesn't
|
||||
# start with / it's routed as text — no command output, and no agent in this
|
||||
# mock setup means no send call either.
|
||||
response = get_response_text(discord_adapter)
|
||||
# /help command output lists /new — if it went through as text, it won't
|
||||
assert response is None or "/new" not in response
|
||||
|
||||
async def test_no_mention_in_channel_dropped(self, discord_adapter):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue