summaryrefslogtreecommitdiff
path: root/tests/unit/mainwindow/statusbar
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-09-13 16:15:52 +0200
committerFlorian Bruhin <me@the-compiler.org>2019-09-13 17:02:22 +0200
commit6ec8a65dcc36bc0504922d378895ffb2dd8ddb53 (patch)
tree4ea786caac726bae96988d46399a5f83d970a3dd /tests/unit/mainwindow/statusbar
parent1c2ad6023ca9d1d38be1b26ab5adcbbf767e4a1f (diff)
downloadqutebrowser-6ec8a65dcc36bc0504922d378895ffb2dd8ddb53.tar.gz
qutebrowser-6ec8a65dcc36bc0504922d378895ffb2dd8ddb53.zip
Don't use a decorator for throttle.
If this is implemented as a decorator, there's only one global throttle which is shared between windows.
Diffstat (limited to 'tests/unit/mainwindow/statusbar')
-rw-r--r--tests/unit/mainwindow/statusbar/test_percentage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/mainwindow/statusbar/test_percentage.py b/tests/unit/mainwindow/statusbar/test_percentage.py
index 515a7c873..45846bd16 100644
--- a/tests/unit/mainwindow/statusbar/test_percentage.py
+++ b/tests/unit/mainwindow/statusbar/test_percentage.py
@@ -30,7 +30,7 @@ def percentage(qtbot):
"""Fixture providing a Percentage widget."""
widget = Percentage()
# Force immediate update of percentage widget
- widget.set_perc.throttle.set_delay(-1) # pylint: disable=no-member
+ widget._set_text.set_delay(-1)
qtbot.add_widget(widget)
return widget