Mercurial > libervia-backend
comparison tests/unit/test_plugin_xep_0420.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 | cecf45416403 |
children |
comparison
equal
deleted
inserted
replaced
4070:d10748475025 | 4071:4b842c1fb686 |
---|---|
18 | 18 |
19 from datetime import datetime, timezone | 19 from datetime import datetime, timezone |
20 from typing import Callable, cast | 20 from typing import Callable, cast |
21 | 21 |
22 import pytest | 22 import pytest |
23 from sat.core import exceptions | 23 from libervia.backend.core import exceptions |
24 | 24 |
25 from sat.plugins.plugin_xep_0334 import NS_HINTS | 25 from libervia.backend.plugins.plugin_xep_0334 import NS_HINTS |
26 from sat.plugins.plugin_xep_0420 import ( | 26 from libervia.backend.plugins.plugin_xep_0420 import ( |
27 NS_SCE, XEP_0420, AffixVerificationFailed, ProfileRequirementsNotMet, SCEAffixPolicy, | 27 NS_SCE, XEP_0420, AffixVerificationFailed, ProfileRequirementsNotMet, SCEAffixPolicy, |
28 SCECustomAffix, SCEProfile | 28 SCECustomAffix, SCEProfile |
29 ) | 29 ) |
30 from sat.tools.xml_tools import ElementParser | 30 from libervia.backend.tools.xml_tools import ElementParser |
31 from twisted.words.xish import domish | 31 from twisted.words.xish import domish |
32 | 32 |
33 | 33 |
34 __all__ = [ # pylint: disable=unused-variable | 34 __all__ = [ # pylint: disable=unused-variable |
35 "test_unpack_matches_original", | 35 "test_unpack_matches_original", |