[telepathy-gabble/master] add block_reading param to create_server

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu May 7 07:38:08 PDT 2009


---
 tests/twisted/tubes/tubetestutil.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/tubes/tubetestutil.py b/tests/twisted/tubes/tubetestutil.py
index 0b2ae65..e8f004c 100644
--- a/tests/twisted/tubes/tubetestutil.py
+++ b/tests/twisted/tubes/tubetestutil.py
@@ -240,9 +240,9 @@ def connect_socket(q, address_type, address):
     else:
         assert False
 
-def create_server(q, address_type, factory=None):
+def create_server(q, address_type, factory=None, block_reading=False):
     if factory is None:
-        factory = EventProtocolFactory(q)
+        factory = EventProtocolFactory(q, block_reading)
     if address_type == cs.SOCKET_ADDRESS_TYPE_UNIX:
         path = os.getcwd() + '/stream'
         try:
-- 
1.5.6.5




More information about the telepathy-commits mailing list