Skip to content

Commit ce4ae41

Browse files
author
Kincaid Savoie
committed
Updated test_ssh_client_directory to use recurse flag.
1 parent 4af7aa0 commit ce4ae41

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
@@ -159,7 +159,7 @@ def test_ssh_client_directory(self):
159159
test_file.close()
160160
client = SSHClient(self.host, port=self.listen_port,
161161
pkey=self.user_key)
162-
client.copy_file(local_test_path, remote_test_path)
162+
client.copy_file(local_test_path, remote_test_path, recurse=True)
163163
for path in remote_file_paths:
164164
self.assertTrue(os.path.isfile(path))
165165
shutil.rmtree(local_test_path)

0 commit comments

Comments
 (0)