

def test_recursion_on_delete(self):
    target = RemoteTarget('/etc/this/does/not/exist', working_ssh_host)
    with self.assertRaises(RemoteCalledProcessError):
        with target.open('w') as fh:
            fh.write('test')

dataset/ETHPy150Open spotify/luigi/test/contrib/test_ssh.py TestGetAttrRecursion.test_recursion_on_delete/original