tests: Add a autouse fixture as workaround
This is a workaround for https://github.com/pytest-dev/pytest/issues/1832
This commit is contained in:
parent
80a3920aad
commit
853f4cd9d8
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user