tests (unit/XEP-0338): Fix async call to xep_0338._jingle_handler_trigger

This commit is contained in:
Goffi 2026-04-14 23:06:12 +02:00
commit ba9a2fc6d5

View file

@ -90,7 +90,7 @@ class TestXEP0338:
]
assert content_names == ["audio", "video"]
def test_group_parsing(self, host, client):
async def test_group_parsing(self, host, client):
"""<group> elements are correctly parsed in jingle_handler trigger"""
xep_0338 = XEP_0338(host)
@ -125,7 +125,7 @@ class TestXEP0338:
content_elt.elements("urn:xmpp:jingle:apps:rtp:1", "description")
)
xep_0338._jingle_handler_trigger(
await xep_0338._jingle_handler_trigger(
client, action, session, content_name, desc_elt
)