From 92465f71e791249924dcfcbc79b542c058a79cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Thu, 27 Feb 2020 16:58:57 +0100 Subject: [PATCH] Fixed bug in tests that leads to occassional timeouts on slow machines fixes QubesOS/qubes-issues#5694 --- qubesmanager/tests/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubesmanager/tests/__init__.py b/qubesmanager/tests/__init__.py index 4a0faa3..3fb4909 100644 --- a/qubesmanager/tests/__init__.py +++ b/qubesmanager/tests/__init__.py @@ -13,4 +13,5 @@ def init_qtapp(): qtapp = QtWidgets.QApplication(sys.argv) loop = quamash.QEventLoop(qtapp) asyncio.set_event_loop(loop) + qtapp.processEvents() return qtapp, loop