test: update some tests
This commit is contained in:
parent
8bc634d4c2
commit
27f74af7b0
1 changed files with 48 additions and 44 deletions
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
from sat.test import helpers
|
||||
from sat.plugins import plugin_xep_0277
|
||||
from sat.plugins import plugin_xep_0060
|
||||
from sat.plugins import plugin_misc_text_syntaxes
|
||||
from sat.tools.xml_tools import ElementParser
|
||||
|
||||
|
|
@ -69,7 +70,9 @@ class XEP_0277Test(helpers.SatTestCase):
|
|||
|
||||
def addPEPEvent(self, *args):
|
||||
pass
|
||||
self.host.plugins["XEP-0060"] = plugin_xep_0060.XEP_0060(self.host)
|
||||
self.host.plugins["XEP-0163"] = XEP_0163(self.host)
|
||||
reload(plugin_misc_text_syntaxes) # reload the plugin to avoid conflict error
|
||||
self.host.plugins["TEXT-SYNTAXES"] = plugin_misc_text_syntaxes.TextSyntaxes(self.host)
|
||||
self.plugin = plugin_xep_0277.XEP_0277(self.host)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue