diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-01-04 10:27:51 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-01-04 10:30:24 +0100 |
commit | f4714a93000ab208508953b9610042fd4569d538 (patch) | |
tree | 7ca57876b2447ddc0ed36a4dcbad0f1f33dabc1b /tests/unit/completion/test_models.py | |
parent | e1af0ff74d693d32fb745bd67bc6fd0570abf302 (diff) | |
download | qutebrowser-pytest-style.tar.gz qutebrowser-pytest-style.zip |
Use flake8-pytest-stylepytest-style
Diffstat (limited to 'tests/unit/completion/test_models.py')
-rw-r--r-- | tests/unit/completion/test_models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/completion/test_models.py b/tests/unit/completion/test_models.py index c20fe293c..9e6743083 100644 --- a/tests/unit/completion/test_models.py +++ b/tests/unit/completion/test_models.py @@ -76,7 +76,7 @@ def _check_completions(model, expected): assert sum(model.column_widths) == 100 -@pytest.fixture() +@pytest.fixture def cmdutils_stub(monkeypatch, stubs): """Patch the cmdutils module to provide fake commands.""" return monkeypatch.setattr(objects, 'commands', { @@ -93,7 +93,7 @@ def cmdutils_stub(monkeypatch, stubs): }) -@pytest.fixture() +@pytest.fixture def configdata_stub(config_stub, monkeypatch, configdata_init): """Patch the configdata module to provide fake data.""" monkeypatch.setattr(configdata, 'DATA', collections.OrderedDict([ |