Fix stream handler test for multiple handlers to exist properly.

This commit is contained in:
Lance Stout 2011-11-21 22:03:43 -08:00
parent 2b0a05ee32
commit 2d610dfdc8

View file

@ -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)