CI: do not require the emoji package

This commit is contained in:
mathieui 2020-12-06 21:58:10 +01:00
parent a61f2248fd
commit a1ef32a122

View file

@ -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">