call site 4 for test.skip
test/rsession/testing/test_hostmanage.py - line 90
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
   def test_initgateway_ssh_and_remotepath(self):
       option = py.test.config.option
       if option.sshtarget is None: 
->         py.test.skip("no known ssh target, use -S to set one")
       host = HostInfo("%s" % (option.sshtarget, ))
       # this test should be careful to not write/rsync anything
       # as the remotepath is the default location 
       # and may be used in the real world 
       host.initgateway()
       assert host.gw
       assert host.gw_remotepath.endswith(host.relpath)
       channel = host.gw.remote_exec("""
               import os
               homedir = os.environ['HOME']
               relpath = channel.receive()
               path = os.path.join(homedir, relpath)
               channel.send(path) 
           """)
       channel.send(host.relpath)
       res = channel.receive()
       assert res == host.gw_remotepath