[commit-gajim] r11201 - trunk/test

asterix at gajim.org asterix at gajim.org
Mon Apr 6 15:36:29 CEST 2009


Author: asterix
Date: 2009-04-06 15:36:29 +0200 (Mon, 06 Apr 2009)
New Revision: 11201

Modified:
   trunk/test/test_xmpp_dispatcher_nb.py
Log:
fix dispatcher tests. Fixes #4830


Modified: trunk/test/test_xmpp_dispatcher_nb.py
===================================================================
--- trunk/test/test_xmpp_dispatcher_nb.py	2009-04-06 13:18:56 UTC (rev 11200)
+++ trunk/test/test_xmpp_dispatcher_nb.py	2009-04-06 13:36:29 UTC (rev 11201)
@@ -35,6 +35,7 @@
 	def _simulate_connect(self):
 		self.dispatcher.PlugIn(self.client) # client is owner
 		# 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'>")
 
 	def test_unbound_namespace_prefix(self):



More information about the Commits mailing list