[py-svn] r17686 - py/branch/monday/py/execnet/testing

hpk at codespeak.net hpk at codespeak.net
Tue Sep 20 12:51:51 CEST 2005


Author: hpk
Date: Tue Sep 20 12:51:49 2005
New Revision: 17686

Modified:
   py/branch/monday/py/execnet/testing/test_gateway.py
Log:
add a repr check for gateways


Modified: py/branch/monday/py/execnet/testing/test_gateway.py
==============================================================================
--- py/branch/monday/py/execnet/testing/test_gateway.py	(original)
+++ py/branch/monday/py/execnet/testing/test_gateway.py	Tue Sep 20 12:51:49 2005
@@ -69,6 +69,9 @@
         for x in 'sender', 'receiver':  
             assert self.gw.pool.getstarted(x) 
 
+    def test_repr_doesnt_crash(self):
+        assert isinstance(repr(self), str)
+
     def test_correct_setup_no_py(self):
         channel = self.gw.remote_exec("""
             import sys



More information about the pytest-commit mailing list