mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-29 15:31:38 +08:00
10 lines
338 B
Python
10 lines
338 B
Python
|
|
import inspect
|
||
|
|
|
||
|
|
from gateway.platforms.discord import DiscordAdapter
|
||
|
|
|
||
|
|
|
||
|
|
def test_discord_media_methods_accept_metadata_kwarg():
|
||
|
|
for method_name in ("send_voice", "send_image_file", "send_image"):
|
||
|
|
signature = inspect.signature(getattr(DiscordAdapter, method_name))
|
||
|
|
assert "metadata" in signature.parameters, method_name
|