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