X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestSsh.py;h=6f11344d93451497196bcd3bdf630656b4ba5b81;hb=ebcbcb01d4bf1085500bf53d1fe962ac9d273912;hp=f523843e4fdcc4d522d73635c3b35c4d58f9eae2;hpb=d68e56ef2a918d14a68d6d25915a2c1edbacf15a;p=tests.git diff --git a/system/TestSsh.py b/system/TestSsh.py index f523843..6f11344 100644 --- a/system/TestSsh.py +++ b/system/TestSsh.py @@ -140,6 +140,9 @@ class TestSsh: scp_command += "%s %s%s"%(local_file,dest,remote_file) return utils.system(scp_command) + def copy_home (self, local_file, recursive=False): + return self.copy_abs(local_file,os.path.basename(local_file),recursive) + def fetch (self, remote_file, local_file, recursive=False): if self.is_local(): command="cp "