summaryrefslogtreecommitdiff
path: root/tests/helpers/fixtures.py
diff options
context:
space:
mode:
authorLembrun <amadeusk7@free.fr>2021-02-26 22:07:08 +0100
committerLembrun <amadeusk7@free.fr>2021-02-26 22:07:08 +0100
commite8b05af233fc9b08901167b8a43c2518ab62aa54 (patch)
tree02b99ced7c9e644c6250a9b77ba0ba5f17aea4f0 /tests/helpers/fixtures.py
parentc586dc272f999898833cf58681ece358fc7b438d (diff)
downloadqutebrowser-e8b05af233fc9b08901167b8a43c2518ab62aa54.tar.gz
qutebrowser-e8b05af233fc9b08901167b8a43c2518ab62aa54.zip
Qtbot methods changed to snake case,snake case check added
Diffstat (limited to 'tests/helpers/fixtures.py')
-rw-r--r--tests/helpers/fixtures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helpers/fixtures.py b/tests/helpers/fixtures.py
index e145255c8..4e0204741 100644
--- a/tests/helpers/fixtures.py
+++ b/tests/helpers/fixtures.py
@@ -73,7 +73,7 @@ class WidgetContainer(QWidget):
self._widget = widget
def expose(self):
- with self._qtbot.waitExposed(self):
+ with self._qtbot.wait_exposed(self):
self.show()
self._widget.setFocus()
@@ -407,7 +407,7 @@ def status_command_stub(stubs, qtbot, win_registry):
"""Fixture which provides a fake status-command object."""
cmd = stubs.StatusBarCommandStub()
objreg.register('status-command', cmd, scope='window', window=0)
- qtbot.addWidget(cmd)
+ qtbot.add_widget(cmd)
yield cmd
objreg.delete('status-command', scope='window', window=0)