From 7f2ca33774a55361ae69b0b5d696ebeb3a92c58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 21 Feb 2017 22:49:35 +0100 Subject: [PATCH] tests: fix importing template in non-default pool --- qubes/tests/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubes/tests/__init__.py b/qubes/tests/__init__.py index 6705bd4b..f68f3bac 100644 --- a/qubes/tests/__init__.py +++ b/qubes/tests/__init__.py @@ -523,7 +523,8 @@ class SystemTestsMixin(object): label='black') for name, volume in template_vm.volumes.items(): if volume.pool != template.volumes[name].pool: - template_vm.storage.init_volume(name, volume.config) + template_vm.storage.init_volume(name, + template.volumes[name].config) self.app.default_template = template_vm def init_networking(self):