test_cache#
test_cache.py
Unit tests for the Cache class from cache.py.
Functions
- test_cache_insertion_and_length_limits()#
- test_key_too_long_is_ignored()#
- test_cache_eviction_on_full()#
- test_eviction_prefers_longest_key()#
- test_refuse_replace_when_key_not_shorter()#