tests: fix starting VMs in mime test

Fixes 79d4b7162a
This commit is contained in:
Marek Marczykowski-Górecki 2021-03-18 04:09:42 +01:00
parent df6407f508
commit f9bfcd8732
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -65,12 +65,9 @@ class TC_50_MimeHandlers:
self.target_vm.template_for_dispvms = True
self.source_vm.default_dispvm = self.target_vm
done, not_done = self.loop.run_until_complete(asyncio.gather(
self.loop.run_until_complete(asyncio.gather(
self.source_vm.start(),
self.target_vm.start()))
for result in itertools.chain(done, not_done):
# catch any exceptions
result.result()
def get_window_class(self, winid, dispvm=False):