summaryrefslogtreecommitdiff
path: root/tests/unit/mainwindow/statusbar
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/mainwindow/statusbar')
-rw-r--r--tests/unit/mainwindow/statusbar/test_percentage.py2
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