Skip to content

Commit a3ae185

Browse files
author
Kincaid Savoie
committed
Updated test_ssh_client_directory to use recurse flag.
1 parent ca12de5 commit a3ae185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ssh_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def test_ssh_client_directory(self):
103103
test_file.close()
104104
client = SSHClient(self.host, port=self.listen_port,
105105
pkey=self.user_key)
106-
client.copy_file(local_test_path, remote_test_path)
106+
client.copy_file(local_test_path, remote_test_path, recurse=True)
107107
for path in remote_file_paths:
108108
self.assertTrue(os.path.isfile(path))
109109
shutil.rmtree(local_test_path)

0 commit comments

Comments
 (0)