From 18e8edfe6599b10ac6ac5d333ffd6d99217691ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 26 Feb 2021 13:55:25 +0100 Subject: [PATCH] tests: set whonix-gw-based VMs to provide network Avoid whonixcheck complaining about wrong VM type, which interferes with GUI tests. --- qubes/tests/integ/vm_qrexec_gui.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qubes/tests/integ/vm_qrexec_gui.py b/qubes/tests/integ/vm_qrexec_gui.py index e321447b..d7869097 100644 --- a/qubes/tests/integ/vm_qrexec_gui.py +++ b/qubes/tests/integ/vm_qrexec_gui.py @@ -57,6 +57,12 @@ class TC_00_AppVMMixin(object): name=self.make_vm_name('vm2'), template=self.app.domains[self.template]) self.loop.run_until_complete(self.testvm2.create_on_disk()) + if self.template.startswith('whonix-gw'): + # Whonix Gateway loudly complains if the VM doesn't provide network, + # which spams the screen with error messages that interfere with + # other tests + self.testvm1.provides_network = True + self.testvm2.provides_network = True self.app.save() def test_000_start_shutdown(self):