def METHOD_NAME(catalog_cache, tempdir):
    os.environ["TEST_CACHE_DIR"] = str(tempdir)
    catalog_cache["test_cache_new"].read()
    files = os.listdir(tempdir)
    assert "cache" in files
    assert len(files) == 2
    cache_id = [f for f in files if f != "cache"][0]
    assert all(c in string.hexdigits for c in cache_id)