mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Fix stream handler test for multiple handlers to exist properly.
This commit is contained in:
parent
2b0a05ee32
commit
2d610dfdc8
1 changed files with 0 additions and 1 deletions
|
@ -168,7 +168,6 @@ class TestHandlers(SleekTest):
|
||||||
def handler_3(msg):
|
def handler_3(msg):
|
||||||
msg.reply("Handler 3: %s" % msg['body']).send()
|
msg.reply("Handler 3: %s" % msg['body']).send()
|
||||||
|
|
||||||
self.stream_start()
|
|
||||||
self.xmpp.add_event_handler('message', handler_1)
|
self.xmpp.add_event_handler('message', handler_1)
|
||||||
self.xmpp.add_event_handler('message', handler_2)
|
self.xmpp.add_event_handler('message', handler_2)
|
||||||
self.xmpp.add_event_handler('message', handler_3)
|
self.xmpp.add_event_handler('message', handler_3)
|
||||||
|
|
Loading…
Reference in a new issue