import pytest from art import store @pytest.fixture(autouse=True) def no_legacy_cache(tmp_path, monkeypatch): """Keep the machine's own data/cache/feed_cache.json out of test databases.""" monkeypatch.setattr(store, "LEGACY_CACHE", tmp_path / "feed_cache.json")