diff --git a/qubes/tests/__init__.py b/qubes/tests/__init__.py index 18ecf7f8..6caa39f3 100644 --- a/qubes/tests/__init__.py +++ b/qubes/tests/__init__.py @@ -959,7 +959,7 @@ class SystemTestCase(QubesTestCase): self.fail("Timeout while waiting for {} window to {}".format( title, "show" if show else "hide") ) - time.sleep(0.1) + self.loop.run_until_complete(asyncio.sleep(0.1)) def enter_keys_in_window(self, title, keys): """