[py-svn] r31573 - py/branch/distributed/py/test/rsession/testing

hpk at codespeak.net hpk at codespeak.net
Wed Aug 23 18:57:01 CEST 2006


Author: hpk
Date: Wed Aug 23 18:56:59 2006
New Revision: 31573

Modified:
   py/branch/distributed/py/test/rsession/testing/test_rsession.py
Log:
intermediate test for non existent ssh host checking 


Modified: py/branch/distributed/py/test/rsession/testing/test_rsession.py
==============================================================================
--- py/branch/distributed/py/test/rsession/testing/test_rsession.py	(original)
+++ py/branch/distributed/py/test/rsession/testing/test_rsession.py	Wed Aug 23 18:56:59 2006
@@ -15,6 +15,13 @@
         py.test.skip("no test distribution ssh hosts specified")
     mod.hosts =  option.disthosts.split(",")
 
+def test_setup_non_existing_hosts(): 
+    setup_events = []
+    hosts = ["alskdjalsdkjasldkajlsd"]
+    nodes = init_hosts(setup_events.append, hosts, 'pytestest', pkgdir)
+    assert 0
+    assert setup_events
+    
 def test_setup_teardown_ssh():
     setup_events = []
     teardown_events = []



More information about the pytest-commit mailing list