From 69f19bb7bb6b464c4d19b226ca6b3a07a8841b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 13 Apr 2018 21:43:15 +0200 Subject: [PATCH] tests/extra: add start_guid option to VMWrapper Pass start_guid option to vm.start(), when using core2 compatibility layer. --- qubes/tests/extra.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qubes/tests/extra.py b/qubes/tests/extra.py index 215200e7..c779794e 100644 --- a/qubes/tests/extra.py +++ b/qubes/tests/extra.py @@ -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())