tests: exclude windows templates from linux tests
This commit is contained in:
parent
e51efcf980
commit
e6edbabf94
@ -1130,7 +1130,8 @@ def list_templates():
|
|||||||
try:
|
try:
|
||||||
app = qubes.Qubes()
|
app = qubes.Qubes()
|
||||||
_templates = tuple(vm.name for vm in app.domains
|
_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()
|
app.close()
|
||||||
del app
|
del app
|
||||||
except OSError:
|
except OSError:
|
||||||
|
Loading…
Reference in New Issue
Block a user