tests: fix prerequisites for stanza tests

This commit is contained in:
mathieui
2021-02-19 18:51:50 +01:00
parent 626bf5ff8a
commit a397cc3a7d
4 changed files with 19 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import unittest
from slixmpp.test import SlixTest
from slixmpp.stanza.message import Message
from slixmpp.stanza.htmlim import HTMLIM
from slixmpp.plugins.xep_0172 import UserNick
from slixmpp.xmlstream import register_stanza_plugin
@@ -9,6 +10,7 @@ class TestMessageStanzas(SlixTest):
def setUp(self):
register_stanza_plugin(Message, HTMLIM)
register_stanza_plugin(Message, UserNick)
def testGroupchatReplyRegression(self):
"Regression groupchat reply should be to barejid"