tests: skip networking tests for minimal templates
Minimal templates don't have networking packages installed by default.
This commit is contained in:
parent
4dac995089
commit
8603571cbc
@ -67,6 +67,10 @@ class VmNetworkingMixin(object):
|
|||||||
if self.template.startswith('whonix-'):
|
if self.template.startswith('whonix-'):
|
||||||
self.skipTest("Test not supported here - Whonix uses its own "
|
self.skipTest("Test not supported here - Whonix uses its own "
|
||||||
"firewall settings")
|
"firewall settings")
|
||||||
|
if self.template.endswith('-minimal'):
|
||||||
|
self.skipTest(
|
||||||
|
"Test not supported here - minimal template don't have "
|
||||||
|
"networking packages by default")
|
||||||
self.init_default_template(self.template)
|
self.init_default_template(self.template)
|
||||||
self.testnetvm = self.app.add_new_vm(qubes.vm.appvm.AppVM,
|
self.testnetvm = self.app.add_new_vm(qubes.vm.appvm.AppVM,
|
||||||
name=self.make_vm_name('netvm1'),
|
name=self.make_vm_name('netvm1'),
|
||||||
|
Loading…
Reference in New Issue
Block a user