148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 | |
def test_hrsync_one_host(self): |
h1 = self._gethostinfo() |
finished = [] |
rsync = HostRSync(self.source) |
-> h1.initgateway() |
rsync.add_target_host(h1) |
self.source.join("hello.py").write("world") |
rsync.send() |
assert self.dest.join("hello.py").check() | |