Mercurial > libervia-backend
comparison tests/unit/test_plugin_xep_0215.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 | 9496f28dadff |
children |
comparison
equal
deleted
inserted
replaced
4070:d10748475025 | 4071:4b842c1fb686 |
---|---|
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 |
19 from twisted.internet import defer | 19 from twisted.internet import defer |
20 from pytest_twisted import ensureDeferred as ed | 20 from pytest_twisted import ensureDeferred as ed |
21 from unittest.mock import MagicMock | 21 from unittest.mock import MagicMock |
22 from sat.plugins.plugin_xep_0215 import XEP_0215 | 22 from libervia.backend.plugins.plugin_xep_0215 import XEP_0215 |
23 from sat.tools import xml_tools | 23 from libervia.backend.tools import xml_tools |
24 from twisted.words.protocols.jabber import jid | 24 from twisted.words.protocols.jabber import jid |
25 | 25 |
26 | 26 |
27 class TestXEP0215: | 27 class TestXEP0215: |
28 def test_parse_services(self, host): | 28 def test_parse_services(self, host): |