get_sftp_client is not needed so remove it
Change-Id: I9fb0670730e808c1f2786866ad3451f8e9f38789
Signed-off-by: Steven Hardy <shardy@redhat.com>
service_type='compute')
self.ssh = paramiko.SSHClient()
+ self.sftp = None
self.ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
with open(filepaths[file]) as f:
self.testcase.assertEqual(data, f.read())
- def get_sftp_client(self):
- if self.sftp is not None:
- return self.sftp
- return None
-
def close_ssh_client(self):
self.ssh.close()