fix dispatcher tests. Fixes #4830
This commit is contained in:
parent
d3ebaf5d8d
commit
c5acd3f655
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ class TestDispatcherNB(unittest.TestCase):
|
||||||
def _simulate_connect(self):
|
def _simulate_connect(self):
|
||||||
self.dispatcher.PlugIn(self.client) # client is owner
|
self.dispatcher.PlugIn(self.client) # client is owner
|
||||||
# Simulate that we have established a connection
|
# Simulate that we have established a connection
|
||||||
|
self.dispatcher.StreamInit()
|
||||||
self.dispatcher.ProcessNonBlocking("<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'>")
|
self.dispatcher.ProcessNonBlocking("<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'>")
|
||||||
|
|
||||||
def test_unbound_namespace_prefix(self):
|
def test_unbound_namespace_prefix(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue