From 594cf4d33c0afaade12bd623b5bafec160182b50 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Fri, 4 Jan 2013 15:23:30 +0000 Subject: [PATCH] heat tests : remove unused get_sftp_client() get_sftp_client is not needed so remove it Change-Id: I9fb0670730e808c1f2786866ad3451f8e9f38789 Signed-off-by: Steven Hardy --- heat/tests/functional/util.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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() -- 2.45.2