def _get_statefile_path(cache_dir, key):
    return os.path.join(
        cache_dir, "selfcheck", outdated._get_statefile_name(key)
    )
def test_get_statefile_name_known_values(key, expected):
    assert expected == outdated._get_statefile_name(key)