Skip to content

Commit

Permalink
fix timeout multiple systems
Browse files Browse the repository at this point in the history
  • Loading branch information
marsipu committed Aug 27, 2023
1 parent 6b878a9 commit 7da9b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mne_pipeline_hd/tests/test_base_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def test_timed_messagebox(qtbot):
qtbot.addWidget(timed_messagebox)
timed_messagebox.show()

qtbot.wait(1000)
qtbot.waitSignal(timed_messagebox.timer.timeout)
# Leave enought time for variance between systems
qtbot.wait(1500)
assert timed_messagebox.text() == "Test\nTimeout: 1"

# Test messagebox properly closes
Expand Down

0 comments on commit 7da9b83

Please sign in to comment.