tests: save qubes.xml befor launching qvm-block tests

This commit is contained in:
Marek Marczykowski-Górecki 2016-07-17 05:16:31 +02:00
parent b5bee9470a
commit 1a1ec88d29
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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):