tests: fix lookup domain by name

This commit is contained in:
Marek Marczykowski-Górecki 2018-11-30 02:02:31 +01:00
parent 91c9e49612
commit 162196a1f8
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -212,6 +212,7 @@ class QubesVMTestsMixin(object):
**kwargs)
self.app.domains[vm.qid] = vm
self.app.domains[vm.uuid] = vm
self.app.domains[vm.name] = vm
self.app.domains[vm] = vm
self.addCleanup(vm.close)
return vm