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

tests (unit): fix tests
author Goffi <goffi@goffi.org>
date Fri, 23 Feb 2024 15:42:02 +0100
parents 4b842c1fb686
children 0fbe5c605eb6
comparison
equal deleted inserted replaced
4212:5f2d496c633f 4213:716dd791be46
34 34
35 class TestXEP0176: 35 class TestXEP0176:
36 def create_mock_session(self, content_name): 36 def create_mock_session(self, content_name):
37 return { 37 return {
38 "id": "test-session-id", 38 "id": "test-session-id",
39 "state": XEP_0166.STATE_ACTIVE,
39 "contents": { 40 "contents": {
40 content_name: { 41 content_name: {
41 "application_data": {"media": "audio"}, 42 "application_data": {"media": "audio"},
42 "transport_data": { 43 "transport_data": {
43 "local_ice_data": { 44 "local_ice_data": {