mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Ensure that the XEP-0086 plugin is loaded.
Since the XEP-0086 plugin auto adds error code values, it must be reliably loaded or unloaded when certain tests are run so that stanzas may be matched. In this case, we ensure that the plugin is used.
This commit is contained in:
parent
5399fdd3a9
commit
8e9b3d0760
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ from sleekxmpp.test import *
|
||||||
|
|
||||||
class TestErrorStanzas(SleekTest):
|
class TestErrorStanzas(SleekTest):
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
# Ensure that the XEP-0086 plugin has been loaded.
|
||||||
|
self.stream_start()
|
||||||
|
self.stream_close()
|
||||||
|
|
||||||
def testSetup(self):
|
def testSetup(self):
|
||||||
"""Test setting initial values in error stanza."""
|
"""Test setting initial values in error stanza."""
|
||||||
msg = self.Message()
|
msg = self.Message()
|
||||||
|
|
Loading…
Reference in a new issue