def data(): return load_cache(cache_file=os.path.join(CURRENT_DIR, 'test_cache_data.json'))
def test_load_cache(data: List[Dict]): with pytest.raises(FileNotFoundError): load_cache('/this/path/is/invalid.cache')