76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 | |
def test_initgateway_localhost_relpath(self): |
host = HostInfo("localhost:somedir") |
host.initgateway() |
assert host.gw |
try: |
homedir = py.path.local._gethomedir() |
expected = homedir.join("somedir") |
assert host.gw_remotepath == str(expected) |
finally: |
-> host.gw.exit() | |