Skip to content

Commit

Permalink
Figure out what's goin on with Linux/Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gselzer committed Aug 10, 2022
1 parent c5deea8 commit 775b104
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: GabrielBB/xvfb-action@v1
with:
run: |
python -m pytest -p no:faulthandler --color=yes -s
python -m pytest -p no:faulthandler --color=yes
ensure-clean-code:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions tests/test_IJ2GUIWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def handle_dialog():
buttons = dialog.findChildren(QPushButton)
assert 2 == len(buttons)
for button in buttons:
if button.text() == "&OK":
if "ok" in button.text().lower():
qtbot.mouseClick(button, Qt.LeftButton, delay=1)
return
pytest.fail("Could not find the Ok button!")
Expand Down Expand Up @@ -164,7 +164,7 @@ def handle_dialog():
buttons = dialog.findChildren(QPushButton)
assert 2 == len(buttons)
for button in buttons:
if button.text() == "&OK":
if "ok" in button.text().lower():
qtbot.mouseClick(button, Qt.LeftButton, delay=1)
return
pytest.fail("Could not find the Ok button!")
Expand Down

0 comments on commit 775b104

Please sign in to comment.