summaryrefslogtreecommitdiff
path: root/tests/test_stanza_xep_0444.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-12-07 20:32:27 +0100
committermathieui <mathieui@mathieui.net>2020-12-07 20:32:27 +0100
commit340b0f0f169221b31dbcab8d9937b427c55fe2da (patch)
treeb2c363322e07a44d15a848e488c656c3442d989b /tests/test_stanza_xep_0444.py
parenta61f2248fdc24dd85a286abc9032ea87628dd643 (diff)
parenta1ef32a1227f39112094e5676f0c49ff351392dd (diff)
downloadslixmpp-340b0f0f169221b31dbcab8d9937b427c55fe2da.tar.gz
slixmpp-340b0f0f169221b31dbcab8d9937b427c55fe2da.tar.bz2
slixmpp-340b0f0f169221b31dbcab8d9937b427c55fe2da.tar.xz
slixmpp-340b0f0f169221b31dbcab8d9937b427c55fe2da.zip
Merge branch 'no-emoji-required' into 'master'
CI: do not require the emoji package See merge request poezio/slixmpp!81
Diffstat (limited to 'tests/test_stanza_xep_0444.py')
-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">