tests/integ/network: make the tests independend of default netvm

Network tests create own temporary netvm. Make it disconnected from the
real netvm, to not interefere in tests.
This commit is contained in:
Marek Marczykowski-Górecki 2018-10-15 00:39:32 +02:00
parent 15140255d5
commit 3f5618dbb0
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -89,6 +89,7 @@ class VmNetworkingMixin(object):
label='red')
self.loop.run_until_complete(self.testnetvm.create_on_disk())
self.testnetvm.provides_network = True
self.testnetvm.netvm = None
self.testvm1 = self.app.add_new_vm(qubes.vm.appvm.AppVM,
name=self.make_vm_name('vm1'),
label='red')