tests: skip networking tests for minimal templates

Minimal templates don't have networking packages installed by default.
This commit is contained in:
Marek Marczykowski-Górecki 2019-10-28 03:30:49 +01:00
parent 4dac995089
commit 8603571cbc
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -67,6 +67,10 @@ class VmNetworkingMixin(object):
if self.template.startswith('whonix-'):
self.skipTest("Test not supported here - Whonix uses its own "
"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.testnetvm = self.app.add_new_vm(qubes.vm.appvm.AppVM,
name=self.make_vm_name('netvm1'),