summaryrefslogtreecommitdiff
path: root/tests/unit/mainwindow/statusbar
diff options
context:
space:
mode:
authorJay Kamat <jaygkamat@gmail.com>2018-12-30 09:21:34 -0800
committerJay Kamat <jaygkamat@gmail.com>2018-12-30 09:28:13 -0800
commita30dda1e742cb2b77cd57a9272cf351540a6d3d2 (patch)
treef26444dccd89f28c30177a77211bf5c080d56d5e /tests/unit/mainwindow/statusbar
parent5ac641b35c5d069ebe8b7e028f0b395bb9fb8eff (diff)
downloadqutebrowser-a30dda1e742cb2b77cd57a9272cf351540a6d3d2.tar.gz
qutebrowser-a30dda1e742cb2b77cd57a9272cf351540a6d3d2.zip
Fix small doc errors and improve logic
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 eee5281e7..0edcf1aee 100644
--- a/tests/unit/mainwindow/statusbar/test_percentage.py
+++ b/tests/unit/mainwindow/statusbar/test_percentage.py
@@ -30,7 +30,9 @@ def percentage(qtbot):
"""Fixture providing a Percentage widget."""
widget = Percentage()
# Force immedate update of percentage widget
+ # pylint: disable=no-member
widget.set_perc.throttle_set(-1)
+ # pylint: enable=no-member
qtbot.add_widget(widget)
return widget