From 07b72ef3fdf93619000fd01404ddb73729a160c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 20 May 2016 04:22:28 +0200 Subject: [PATCH] tests: fix after moving VMCollection to qubes.app --- qubes/tests/init.py | 2 +- qubes/tests/vm/mix/net.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qubes/tests/init.py b/qubes/tests/init.py index 86b7e1d1..edc0a975 100644 --- a/qubes/tests/init.py +++ b/qubes/tests/init.py @@ -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') diff --git a/qubes/tests/vm/mix/net.py b/qubes/tests/vm/mix/net.py index 2266a239..f405a175 100644 --- a/qubes/tests/vm/mix/net.py +++ b/qubes/tests/vm/mix/net.py @@ -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