diff --git a/tests/test_multiprocess.py b/tests/test_multiprocess.py index baadb7be..1ffd9ff1 100644 --- a/tests/test_multiprocess.py +++ b/tests/test_multiprocess.py @@ -6,6 +6,16 @@ import keyring +@pytest.fixture(autouse=True) +def workaround_pytest_12178(monkeypatch): + """ + Ensure the current directory is on sys.path so that `tests` is importable. + + Workaround for #673. + """ + monkeypatch.syspath_prepend('.') + + def subprocess_get(): keyring.get_password('test_app', 'test_user')