mirror of
https://github.com/jopohl/urh.git
synced 2026-03-12 03:06:50 +01:00
improve unittest
This commit is contained in:
@@ -380,10 +380,7 @@ class TestSimulatorTabGUI(QtTestCase):
|
||||
logger.debug("Waiting for mismatching message")
|
||||
time.sleep(1)
|
||||
|
||||
QTest.qWait(250)
|
||||
QApplication.processEvents()
|
||||
QTest.qWait(100)
|
||||
|
||||
dialog.on_timer_timeout() # enforce writing to text view
|
||||
simulator_log = dialog.ui.textEditSimulation.toPlainText()
|
||||
self.assertIn("Received message 1", simulator_log)
|
||||
self.assertIn("preamble: 11111111", simulator_log)
|
||||
|
||||
Reference in New Issue
Block a user