context based changes

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-08-28 15:39:17 +02:00
commit 136ddc05b5
5 changed files with 7 additions and 5 deletions

View file

@ -53,7 +53,11 @@ class CodeTestCase(test.CdistTestCase):
self.remote_base_path = self.mkdtemp()
remote_exec = self.remote_exec
remote_copy = self.remote_copy
self.remote = remote.Remote(self.target_host, self.remote_base_path, remote_exec, remote_copy)
self.remote = remote.Remote(
target_host=self.target_host,
remote_exec=remote_exec,
remote_copy=remote_copy)
self.remote.base_path = self.remote_base_path
self.remote.create_files_dirs()
self.code = code.Code(self.target_host, self.local, self.remote)