From 73e55eb99a3455ae06489e95f52ee404ab5f4dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 1 Nov 2020 05:04:59 +0100 Subject: [PATCH] tests: adjust for applications list stored in features dict --- qubes/tests/integ/backupcompatibility.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/qubes/tests/integ/backupcompatibility.py b/qubes/tests/integ/backupcompatibility.py index 3be56541..1acadba3 100644 --- a/qubes/tests/integ/backupcompatibility.py +++ b/qubes/tests/integ/backupcompatibility.py @@ -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,