comparison tests/unit/test_plugin_xep_0338.py @ 4213:716dd791be46

tests (unit): fix tests
author Goffi <goffi@goffi.org>
date Fri, 23 Feb 2024 15:42:02 +0100
parents 4b842c1fb686
children
comparison
equal deleted inserted replaced
4212:5f2d496c633f 4213:716dd791be46
65 def test_group_building(self, host, client): 65 def test_group_building(self, host, client):
66 """<group> element are built from session in session init trigger""" 66 """<group> element are built from session in session init trigger"""
67 xep_0338 = XEP_0338(host) 67 xep_0338 = XEP_0338(host)
68 68
69 session = { 69 session = {
70 "contents": {"audio": {}},
70 "jingle_elt": domish.Element((None, "jingle")), 71 "jingle_elt": domish.Element((None, "jingle")),
71 "metadata": {"group": {"BUNDLE": ["audio", "video"]}}, 72 "metadata": {"group": {"BUNDLE": ["audio", "video"]}},
72 } 73 }
73 content_name = "audio" 74 content_name = "audio"
74 media = "audio" 75 media = "audio"