diff options
author | Jay Kamat <jaygkamat@gmail.com> | 2018-12-29 17:38:03 -0800 |
---|---|---|
committer | Jay Kamat <jaygkamat@gmail.com> | 2018-12-29 17:49:09 -0800 |
commit | 5ac641b35c5d069ebe8b7e028f0b395bb9fb8eff (patch) | |
tree | 02b30a2af02b2c90b6e3bf4386c83200e9622893 /tests/unit/mainwindow/statusbar | |
parent | e6e688b808f0aa55373d7bed174f8af208c51c39 (diff) | |
download | qutebrowser-5ac641b35c5d069ebe8b7e028f0b395bb9fb8eff.tar.gz qutebrowser-5ac641b35c5d069ebe8b7e028f0b395bb9fb8eff.zip |
Fix edge cases in throttle and support kwargs
Diffstat (limited to 'tests/unit/mainwindow/statusbar')
-rw-r--r-- | tests/unit/mainwindow/statusbar/test_percentage.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/mainwindow/statusbar/test_percentage.py b/tests/unit/mainwindow/statusbar/test_percentage.py index c7b5b9fe2..eee5281e7 100644 --- a/tests/unit/mainwindow/statusbar/test_percentage.py +++ b/tests/unit/mainwindow/statusbar/test_percentage.py @@ -29,6 +29,8 @@ from qutebrowser.mainwindow.statusbar.percentage import Percentage def percentage(qtbot): """Fixture providing a Percentage widget.""" widget = Percentage() + # Force immedate update of percentage widget + widget.set_perc.throttle_set(-1) qtbot.add_widget(widget) return widget |