Mercurial > libervia-backend
comparison tests/unit/test_plugin_xep_0167.py @ 4071:4b842c1fb686
refactoring: renamed `sat` package to `libervia.backend`
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 02 Jun 2023 11:49:51 +0200 |
parents | e807a5434f82 |
children | 716dd791be46 |
comparison
equal
deleted
inserted
replaced
4070:d10748475025 | 4071:4b842c1fb686 |
---|---|
21 | 21 |
22 from pytest import fixture | 22 from pytest import fixture |
23 from pytest import raises | 23 from pytest import raises |
24 from twisted.words.protocols.jabber import jid | 24 from twisted.words.protocols.jabber import jid |
25 | 25 |
26 from sat.plugins.plugin_xep_0166 import XEP_0166 | 26 from libervia.backend.plugins.plugin_xep_0166 import XEP_0166 |
27 from sat.plugins.plugin_xep_0167 import XEP_0167, mapping | 27 from libervia.backend.plugins.plugin_xep_0167 import XEP_0167, mapping |
28 from sat.plugins.plugin_xep_0167.constants import NS_JINGLE_RTP, NS_JINGLE_RTP_INFO | 28 from libervia.backend.plugins.plugin_xep_0167.constants import NS_JINGLE_RTP, NS_JINGLE_RTP_INFO |
29 from sat.tools import xml_tools | 29 from libervia.backend.tools import xml_tools |
30 from sat.tools.common import data_format | 30 from libervia.backend.tools.common import data_format |
31 | 31 |
32 | 32 |
33 @fixture(autouse=True) | 33 @fixture(autouse=True) |
34 def no_application_register(monkeypatch): | 34 def no_application_register(monkeypatch): |
35 """Do not register the application in XEP-0166""" | 35 """Do not register the application in XEP-0166""" |