close insert sine dialog after test

This commit is contained in:
Johannes Pohl
2017-03-27 19:18:34 +02:00
parent 83c6499633
commit a05f181657

View File

@@ -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)