Skip to main content

Module test_util

Module test_util 

Source

Functionsยง

assert_cache_response
Assert that the cache response has exactly one element and that it matches the original (all fields equal except TTL, where the original is >=).
assert_current_size
Assert that the cache has a given number of records.
assert_expires
Expire stale records and assert the count expired.
assert_invariants
Assert that the cache invariants are met: