Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Dec 19, 2024
1 parent 4d39b4a commit f71e316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
uses: aganders3/headless-gui@v2
with:
shell: bash -l {0}
run: pytest -vv -s --full-trace --color=yes --cov=qtconsole qtconsole
run: pytest -vv -s --color=yes --cov=qtconsole qtconsole
env:
QT_API: ${{ matrix.QT_LIB }}
PYTEST_QT_API: ${{ matrix.QT_LIB }}
Expand Down
3 changes: 1 addition & 2 deletions qtconsole/tests/test_00_console_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ def run_line(line, block=True):
prev_position = scroll_bar.maximum() - (scroll_bar.pageStep() * 8) // 10
scroll_bar.setValue(prev_position)

qtbot.wait(1000)
assert scroll_bar.value() > prev_position
qtbot.waitUntil(lambda: scroll_bar.value() > prev_position)


@flaky(max_runs=3)
Expand Down

0 comments on commit f71e316

Please sign in to comment.