tests: fix after moving VMCollection to qubes.app
This commit is contained in:
parent
c965024287
commit
07b72ef3fd
@ -296,7 +296,7 @@ class TestApp(qubes.tests.TestEmitter):
|
||||
class TC_30_VMCollection(qubes.tests.QubesTestCase):
|
||||
def setUp(self):
|
||||
self.app = TestApp()
|
||||
self.vms = qubes.VMCollection(self.app)
|
||||
self.vms = qubes.app.VMCollection(self.app)
|
||||
|
||||
self.testvm1 = TestVM(None, None, qid=1, name='testvm1')
|
||||
self.testvm2 = TestVM(None, None, qid=2, name='testvm2')
|
||||
|
@ -46,7 +46,7 @@ class TC_00_NetVMMixin(
|
||||
provides_network=True)
|
||||
self.nonetvm = qubes.vm.qubesvm.QubesVM(self.app, None, qid=4,
|
||||
name=qubes.tests.VMPREFIX + 'nonet')
|
||||
self.app.domains = qubes.VMCollection(self.app)
|
||||
self.app.domains = qubes.app.VMCollection(self.app)
|
||||
for domain in (vm, self.netvm1, self.netvm2, self.nonetvm):
|
||||
self.app.domains._dict[domain.qid] = domain
|
||||
self.app.default_netvm = self.netvm1
|
||||
|
Loading…
Reference in New Issue
Block a user