summaryrefslogtreecommitdiff
path: root/tests/unit/misc/test_guiprocess.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-01-04 10:27:51 +0100
committerFlorian Bruhin <me@the-compiler.org>2022-01-04 10:30:24 +0100
commitf4714a93000ab208508953b9610042fd4569d538 (patch)
tree7ca57876b2447ddc0ed36a4dcbad0f1f33dabc1b /tests/unit/misc/test_guiprocess.py
parente1af0ff74d693d32fb745bd67bc6fd0570abf302 (diff)
downloadqutebrowser-f4714a93000ab208508953b9610042fd4569d538.tar.gz
qutebrowser-f4714a93000ab208508953b9610042fd4569d538.zip
Use flake8-pytest-stylepytest-style
Diffstat (limited to 'tests/unit/misc/test_guiprocess.py')
-rw-r--r--tests/unit/misc/test_guiprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/misc/test_guiprocess.py b/tests/unit/misc/test_guiprocess.py
index faf2006de..c664757fd 100644
--- a/tests/unit/misc/test_guiprocess.py
+++ b/tests/unit/misc/test_guiprocess.py
@@ -31,7 +31,7 @@ from qutebrowser.api import cmdutils
from qutebrowser.qt import sip
-@pytest.fixture()
+@pytest.fixture
def proc(qtbot, caplog):
"""A fixture providing a GUIProcess and cleaning it up after the test."""
p = guiprocess.GUIProcess('testprocess')
@@ -46,7 +46,7 @@ def proc(qtbot, caplog):
p._proc.waitForFinished()
-@pytest.fixture()
+@pytest.fixture
def fake_proc(monkeypatch, stubs):
"""A fixture providing a GUIProcess with a mocked QProcess."""
p = guiprocess.GUIProcess('testprocess')