From: Steven Hardy Date: Fri, 4 Jan 2013 15:23:30 +0000 (+0000) Subject: heat tests : remove unused get_sftp_client() X-Git-Tag: 2014.1~1025^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=594cf4d33c0afaade12bd623b5bafec160182b50;p=openstack-build%2Fheat-build.git heat tests : remove unused get_sftp_client() get_sftp_client is not needed so remove it Change-Id: I9fb0670730e808c1f2786866ad3451f8e9f38789 Signed-off-by: Steven Hardy --- diff --git a/heat/tests/functional/util.py b/heat/tests/functional/util.py index c8f935bc..f986f1ef 100644 --- a/heat/tests/functional/util.py +++ b/heat/tests/functional/util.py @@ -76,6 +76,7 @@ class Instance(object): service_type='compute') self.ssh = paramiko.SSHClient() + self.sftp = None self.ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) @@ -296,11 +297,6 @@ class Instance(object): 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()