tests: add default_guivm and guivm in utils properties

This commit is contained in:
Frédéric Pierret (fepitre) 2019-11-11 12:13:59 +01:00
parent 6b50953a33
commit 056d7474c3
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -36,8 +36,8 @@ class TestVMUsage(qubesadmin.tests.QubesTestCase):
b'sys-firewall class=AppVM state=Running\n'
self.global_properties = ['default_dispvm', 'default_netvm',
'default_template', 'clockvm', 'updatevm',
'management_dispvm']
'default_guivm', 'default_template',
'clockvm', 'updatevm', 'management_dispvm']
for prop in self.global_properties:
self.app.expected_calls[
@ -46,8 +46,9 @@ class TestVMUsage(qubesadmin.tests.QubesTestCase):
self.vms = ['vm1', 'vm2', 'sys-net', 'sys-firewall',
'template1', 'template2']
self.vm_properties = ['template', 'netvm', 'default_dispvm',
'management_dispvm']
self.vm_properties = ['template', 'netvm', 'guivm', 'default_dispvm',
'management_dispvm']
for vm in self.vms:
for prop in self.vm_properties: