diff --git a/tests/test_plugins.py b/tests/test_plugins.py index 550f17c6..1d25cc11 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -144,3 +144,8 @@ class TestPlugins(QtTestCase): sep = Formatter.local_decimal_seperator() self.assertEqual(dialog.lineEditTime.text(), "250" + sep + "000m") + + # Close the dialog via finished + dialog.finished.emit(0) + QApplication.instance().processEvents() + QTest.qWait(self.CLOSE_TIMEOUT)