tests: use offline mode

QubesOS/qubes-issues#2008
This commit is contained in:
Marek Marczykowski-Górecki 2016-05-21 03:30:53 +02:00
parent 7f85ba1f13
commit c9a55cc198
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class TC_00_NetVMMixin(
def setUp(self):
super(TC_00_NetVMMixin, self).setUp()
self.app = qubes.tests.vm.TestApp()
self.app.vmm.offline_mode = True
def setup_netvms(self, vm):
# usage of QubesVM here means that those tests should be after

View File

@ -146,6 +146,7 @@ class QubesVMTestsMixin(object):
def setUp(self):
super(QubesVMTestsMixin, self).setUp()
self.app = qubes.tests.vm.TestApp()
self.app.vmm.offline_mode = True
def get_vm(self, **kwargs):
return qubes.vm.qubesvm.QubesVM(self.app, None,