From 1a1ec88d29779e253d28cd68596d9188c3a65c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 17 Jul 2016 05:16:31 +0200 Subject: [PATCH] tests: save qubes.xml befor launching qvm-block tests --- tests/block.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/block.py b/tests/block.py index a40dfea7..3d9dcbac 100644 --- a/tests/block.py +++ b/tests/block.py @@ -39,8 +39,11 @@ class TC_00_List(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase): name=self.make_vm_name("vm"), template=self.qc.get_vm_by_name(self.template)) self.vm.create_on_disk(verbose=False) + self.save_and_reload_db() + self.qc.unlock_db() self.vm.start() else: + self.qc.unlock_db() self.vm = self.qc[0] def tearDown(self):