tests: exclude windows templates from linux tests
This commit is contained in:
parent
e51efcf980
commit
e6edbabf94
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user