From a05f1816574ced94270a9d237f1a53c19ca4f9bc Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Mon, 27 Mar 2017 19:18:34 +0200 Subject: [PATCH] close insert sine dialog after test --- tests/test_plugins.py | 5 +++++ 1 file changed, 5 insertions(+) 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)