tests: save qubes.xml befor launching qvm-block tests
This commit is contained in:
parent
b5bee9470a
commit
1a1ec88d29
@ -39,8 +39,11 @@ class TC_00_List(qubes.tests.SystemTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
name=self.make_vm_name("vm"),
|
name=self.make_vm_name("vm"),
|
||||||
template=self.qc.get_vm_by_name(self.template))
|
template=self.qc.get_vm_by_name(self.template))
|
||||||
self.vm.create_on_disk(verbose=False)
|
self.vm.create_on_disk(verbose=False)
|
||||||
|
self.save_and_reload_db()
|
||||||
|
self.qc.unlock_db()
|
||||||
self.vm.start()
|
self.vm.start()
|
||||||
else:
|
else:
|
||||||
|
self.qc.unlock_db()
|
||||||
self.vm = self.qc[0]
|
self.vm = self.qc[0]
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user