summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-12-06 21:58:10 +0100
committermathieui <mathieui@mathieui.net>2020-12-06 21:58:10 +0100
commita1ef32a1227f39112094e5676f0c49ff351392dd (patch)
treeb2c363322e07a44d15a848e488c656c3442d989b /tests
parenta61f2248fdc24dd85a286abc9032ea87628dd643 (diff)
downloadslixmpp-a1ef32a1227f39112094e5676f0c49ff351392dd.tar.gz
slixmpp-a1ef32a1227f39112094e5676f0c49ff351392dd.tar.bz2
slixmpp-a1ef32a1227f39112094e5676f0c49ff351392dd.tar.xz
slixmpp-a1ef32a1227f39112094e5676f0c49ff351392dd.zip
CI: do not require the emoji package
Diffstat (limited to 'tests')
-rw-r--r--tests/test_stanza_xep_0444.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_stanza_xep_0444.py b/tests/test_stanza_xep_0444.py
index b4d5739b..276460c5 100644
--- a/tests/test_stanza_xep_0444.py
+++ b/tests/test_stanza_xep_0444.py
@@ -43,7 +43,11 @@ class TestReactions(SlixTest):
def testCreateReactionsUnrestricted(self):
"""Testing creating Reactions with the extra all_chars arg."""
-
+ try:
+ import emoji
+ except ImportError:
+ # No emoji package: this test does not make sense
+ return
xmlstring = """
<message>
<reactions xmlns="urn:xmpp:reactions:0" id="abcd">