diff options
Diffstat (limited to 'dovetail/test_runner.py')
-rw-r--r-- | dovetail/test_runner.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py index 32a18743..2c1b7fd6 100644 --- a/dovetail/test_runner.py +++ b/dovetail/test_runner.py @@ -48,9 +48,10 @@ class DockerRunner(object): dest_path = self.testcase.pre_copy_dest_path() if dest_path: - src_path = self.testcase.mk_src_file() - ret, msg = Container.pre_copy(container_id, src_path, dest_path) - + self.testcase.mk_src_file() + src_path = self.testcase.pre_copy_src_path(self.type) + ret, msg = Container.pre_copy(container_id, src_path, + dest_path) if not self.testcase.prepared(): prepare_failed = False cmds = self.testcase.pre_condition() |