Skip to main content

tests/conftest.py

1import pathlib
3import pytest
6@pytest.fixture
7def out_path(tmp_path: pathlib.Path) -> None:
8 """
9 Returns a temporary path where we can write a webarchive.
11 Any files written to this path will be cleaned up at the end of the test.
12 """
13 return tmp_path / "example.webarchive"