tests: fix cleanup of dom0_update tests

Reset updatevm to None before removing VMs, otherwise removing updatevm
will fail.
This commit is contained in:
Marek Marczykowski-Górecki 2018-10-07 21:47:25 +02:00
parent 8dab298b89
commit 1245606453
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -121,6 +121,7 @@ enabled = 1
self.repo_proc.terminate()
self.loop.run_until_complete(self.repo_proc.wait())
del self.repo_proc
self.app.updatevm = None
super(TC_00_Dom0UpgradeMixin, self).tearDown()
subprocess.call(['rpm', '-e', self.pkg_name],