MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / test_make_cache_key

Function test_make_cache_key

scripts/tests/test_affiliate_server.py:172–174  ·  view source on GitHub ↗
(isbn_or_asin: dict[str, Any], expected_key: str)

Source from the content-addressed store, hash-verified

170 ],
171)
172def test_make_cache_key(isbn_or_asin: dict[str, Any], expected_key: str) -> None:
173 got = make_cache_key(isbn_or_asin)
174 assert got == expected_key
175
176
177# Sample Google Book data with all fields present

Callers

nothing calls this directly

Calls 1

make_cache_keyFunction · 0.90

Tested by

no test coverage detected