1
0

tests: qt_util: disable timer in qt testcases

This commit is contained in:
Sander van Grieken
2024-02-15 16:27:01 +01:00
parent d8654361af
commit 57270e3bf3

View File

@@ -44,10 +44,10 @@ class QETestCase(unittest.IsolatedAsyncioTestCase):
def start_qt_task():
self.app = TestQCoreApplication([])
self.timer = QTimer(self.app)
self.timer.setSingleShot(False)
self.timer.setInterval(500) # msec
self.timer.timeout.connect(lambda: None) # periodically enter python scope
# self.timer = QTimer(self.app)
# self.timer.setSingleShot(False)
# self.timer.setInterval(500) # msec
# self.timer.timeout.connect(lambda: None) # periodically enter python scope
self.app.exec()
self.app = None