summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2019-09-05 17:01:18 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2019-09-05 17:01:18 +0200
commita3c377f0584830b7b572ac6f096b2eae18360c79 (patch)
tree9556b62d78bf1953385540b745bce45b82c5c003
parent2a936bfdd96a178b82a50a388eb3ca94d0b469ee (diff)
test_prepare_disks: add a missing method to SSHGuestFSHEADmaster
-rwxr-xr-xtest_prepare_disks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_prepare_disks.py b/test_prepare_disks.py
index 11a01a0..5e865cf 100755
--- a/test_prepare_disks.py
+++ b/test_prepare_disks.py
@@ -35,6 +35,8 @@ class SSHGuestFs:
self.conn.exec_command('chown {}.{} "{}"'.format(str(owner), str(group), path))
def command(self, arguments):
self.conn.exec_command(arguments)
+ def copy_in(self, src, dest):
+ self.cp_r(src, dest)
def cp(self, src, dest):
self.conn.exec_command('cp "{}" "{}"'.format(src, dest))
def cp_a(self, src, dest):