We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af7aa0 commit ce4ae41Copy full SHA for ce4ae41
tests/test_ssh_client.py
@@ -159,7 +159,7 @@ def test_ssh_client_directory(self):
159
test_file.close()
160
client = SSHClient(self.host, port=self.listen_port,
161
pkey=self.user_key)
162
- client.copy_file(local_test_path, remote_test_path)
+ client.copy_file(local_test_path, remote_test_path, recurse=True)
163
for path in remote_file_paths:
164
self.assertTrue(os.path.isfile(path))
165
shutil.rmtree(local_test_path)
0 commit comments