From e6edbabf9421d9f74f7367aa992024d64f6acfac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 15 Jul 2018 22:08:06 +0200 Subject: [PATCH] tests: exclude windows templates from linux tests --- qubes/tests/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubes/tests/__init__.py b/qubes/tests/__init__.py index 7965c7fe..0d3144c2 100644 --- a/qubes/tests/__init__.py +++ b/qubes/tests/__init__.py @@ -1130,7 +1130,8 @@ def list_templates(): try: app = qubes.Qubes() _templates = tuple(vm.name for vm in app.domains - if isinstance(vm, qubes.vm.templatevm.TemplateVM)) + if isinstance(vm, qubes.vm.templatevm.TemplateVM) and + vm.features.get('os', None) != 'Windows') app.close() del app except OSError: