

def test_put(self):
    f = open(self.local_file, 'w')
    f.write('hello')
    f.close()
    t = RemoteTarget(self.path, working_ssh_host)
    t.put(self.local_file)
    self.assertTrue(self._exists(self.path))

dataset/ETHPy150Open spotify/luigi/test/contrib/test_ssh.py TestRemoteTargetAtomicity.test_put/original