tests: fix importing template in non-default pool

This commit is contained in:
Marek Marczykowski-Górecki 2017-02-21 22:49:35 +01:00
parent 3726c7d9c3
commit 7f2ca33774
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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):