Fix tests

This commit is contained in:
Julien Duponchelle committed 2015-01-20 12:46:15 +01:00
1 parent 927e6b540d
commit 0695e75e77
14 files changed
+139 -84

No files matched your search

+6 -6
View File
@@ -48,22 +48,22 @@ class VPCSDevice(BaseVM):
:param name: name of this VPCS device
:param uuid: VPCS instance UUID
:param project: Project instance
:param manager: parent VM Manager
:param working_dir: path to a working directory
:param console: TCP console port
"""
def __init__(self, name, uuid, manager, working_dir=None, console=None):
def __init__(self, name, uuid, project, manager, working_dir=None, console=None):
super().__init__(name, uuid, manager)
# TODO: Hardcodded for testing
#self._working_dir = working_dir
self._working_dir = "/tmp"
super().__init__(name, uuid, project, manager)
self._path = self._config.get_section_config("VPCS").get("path", "vpcs")
self._console = console
#TODO: remove working_dir
self._working_dir = "/tmp"
self._command = []
self._process = None
self._vpcs_stdout_file = ""