tests: adjust for applications list stored in features dict

This commit is contained in:
Marek Marczykowski-Górecki 2020-11-01 05:04:59 +01:00
parent 2b49979c2a
commit 73e55eb99a
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -426,12 +426,17 @@ class TC_00_BackupCompatibility(
'debug': False,
'maxmem': min(int(self.app.host.memory_total / 1024 / 2), 4000),
'memory': 400,
'features': {},
'features': {
'menu-items': 'gnome-terminal.desktop nautilus.desktop '
'firefox.desktop mozilla-thunderbird.desktop '
'libreoffice-startcenter.desktop',
},
}
template_standalone_props = common_props.copy()
template_standalone_props['features'] = {
'qrexec': '1',
'gui': '1',
'menu-items': common_props['features']['menu-items'],
}
self.assertRestored("test-template-clone",
klass=qubes.vm.templatevm.TemplateVM,
@ -481,12 +486,17 @@ class TC_00_BackupCompatibility(
'debug': False,
'maxmem': min(int(self.app.host.memory_total / 1024 / 2), 4000),
'memory': 400,
'features': {},
'features': {
'menu-items': 'gnome-terminal.desktop nautilus.desktop '
'firefox.desktop mozilla-thunderbird.desktop '
'libreoffice-startcenter.desktop',
},
}
template_standalone_props = common_props.copy()
template_standalone_props['features'] = {
'qrexec': '1',
'gui': '1',
'menu-items': common_props['features']['menu-items'],
}
self.assertRestored("test-template-clone",
klass=qubes.vm.templatevm.TemplateVM,