From 455535d0364c951b6b8b79c54820a1c4b9a7c7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 8 Jul 2015 01:20:25 +0200 Subject: [PATCH] tests: reload qubes.xml after creating VMs Unfortunately it is still needed. For example to load default netvm setting. --- tests/vm_qrexec_gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/vm_qrexec_gui.py b/tests/vm_qrexec_gui.py index 5c8c80b5..86257295 100644 --- a/tests/vm_qrexec_gui.py +++ b/tests/vm_qrexec_gui.py @@ -49,8 +49,10 @@ class TC_00_AppVMMixin(qubes.tests.SystemTestsMixin): name=self.make_vm_name('vm2'), template=self.qc.get_vm_by_name(self.template)) self.testvm2.create_on_disk(verbose=False) - self.qc.save() + self.save_and_reload_db() self.qc.unlock_db() + self.testvm1 = self.qc[self.testvm1.qid] + self.testvm2 = self.qc[self.testvm2.qid] def test_000_start_shutdown(self): self.testvm1.start()