tests/extra: add start_guid option to VMWrapper
Pass start_guid option to vm.start(), when using core2 compatibility layer.
This commit is contained in:
parent
6a191febc3
commit
69f19bb7bb
@ -65,8 +65,9 @@ class VMWrapper(object):
|
||||
def __hash__(self):
|
||||
return hash(self._vm)
|
||||
|
||||
def start(self):
|
||||
return self._loop.run_until_complete(self._vm.start())
|
||||
def start(self, start_guid=True):
|
||||
return self._loop.run_until_complete(
|
||||
self._vm.start(start_guid=start_guid))
|
||||
|
||||
def shutdown(self):
|
||||
return self._loop.run_until_complete(self._vm.shutdown())
|
||||
|
Loading…
Reference in New Issue
Block a user