tests: set whonix-gw-based VMs to provide network
Avoid whonixcheck complaining about wrong VM type, which interferes with GUI tests.
This commit is contained in:
parent
e7888ffc9b
commit
18e8edfe65
@ -57,6 +57,12 @@ class TC_00_AppVMMixin(object):
|
|||||||
name=self.make_vm_name('vm2'),
|
name=self.make_vm_name('vm2'),
|
||||||
template=self.app.domains[self.template])
|
template=self.app.domains[self.template])
|
||||||
self.loop.run_until_complete(self.testvm2.create_on_disk())
|
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()
|
self.app.save()
|
||||||
|
|
||||||
def test_000_start_shutdown(self):
|
def test_000_start_shutdown(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user