From da9205c78a5a2ce1d87f406ee650b6bc7659d0e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 15 Aug 2016 23:52:35 +0200 Subject: [PATCH] tests/appmenus: fix template cloning code create_on_disk no longer handle cloning files. --- qubesappmenus/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesappmenus/tests.py b/qubesappmenus/tests.py index 059dcc3..5468360 100644 --- a/qubesappmenus/tests.py +++ b/qubesappmenus/tests.py @@ -305,7 +305,7 @@ class TC_10_AppmenusIntegration(qubes.tests.extra.ExtraTestCase): def test_004_created_template_from_other(self): tpl = self.app.add_new_vm(qubes.vm.templatevm.TemplateVM, name=self.make_vm_name('tpl'), label='red') - tpl.create_on_disk(source_template=self.app.default_template) + tpl.clone_disk_files(self.app.default_template) self.assertPathExists(self.appmenus.templates_dir(tpl)) self.assertPathExists(self.appmenus.template_icons_dir(tpl)) self.assertPathExists(os.path.join(tpl.dir_path,