From bd1c63e569599f9546948f82f3a427f5c9cc2ef3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 22 Aug 2016 06:50:00 +0200 Subject: [PATCH] Add a autouse fixture as workaround --- tests/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 9f9cc3b1643..ebb9a7e111e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -133,6 +133,12 @@ def qapp(qapp): return qapp +@pytest.fixture(scope='function', autouse=True) +def bug_workaround(): + # WORKAROUND for https://github.com/pytest-dev/pytest/issues/1832 + pass + + def pytest_addoption(parser): parser.addoption('--qute-delay', action='store', default=0, type=int, help="Delay between qutebrowser commands.")