diff --git a/tests/conftest.py b/tests/conftest.py index 80561c1..598457d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,10 +19,15 @@ def default_env(monkeysession: pytest.MonkeyPatch, nice_tmpdir_ses: str) -> Generator[None, None, None]: """Setup some default environment variables""" datadir = Path(nice_tmpdir_ses) / "data" + cadir = datadir / "ca_public" + cadir.mkdir(parents=True, exist_ok=True) + crlfile = cadir / "crl.der" with monkeysession.context() as mpatch: + crlfile.write_text("DUMMY") mpatch.setenv("CI", "true") mpatch.setenv("OR_DATA_PATH", str(datadir)) mpatch.setenv("OR_CFSSL", "fakessl") + mpatch.setenv("OR_CRL", str(crlfile)) yield None