import pytest import storage @pytest.fixture def store(tmp_path, monkeypatch): monkeypatch.setattr(storage, "DB_PATH", tmp_path / "test.sqlite3") return storage