Browse Source

tests: fix cleanup of dom0_update tests

Reset updatevm to None before removing VMs, otherwise removing updatevm
will fail.
Marek Marczykowski-Górecki 5 years ago
parent
commit
1245606453
1 changed files with 1 additions and 0 deletions
  1. 1 0
      qubes/tests/integ/dom0_update.py

+ 1 - 0
qubes/tests/integ/dom0_update.py

@@ -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],