Skip to content

Commit

Permalink
tests: set whonix-gw-based VMs to provide network
Browse files Browse the repository at this point in the history
Avoid whonixcheck complaining about wrong VM type, which interferes with
GUI tests.
  • Loading branch information
marmarek committed Feb 26, 2021
1 parent e7888ff commit 18e8edf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qubes/tests/integ/vm_qrexec_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ def setUp(self):
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):
Expand Down

0 comments on commit 18e8edf

Please sign in to comment.