mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix flaky lru_cache test (#101252)
This commit is contained in:
parent
4ee6f6c766
commit
100b6fd06f
@ -9,6 +9,7 @@ ent = "test.test"
|
||||
def test_override_single_value() -> None:
|
||||
"""Test values with exact match."""
|
||||
store = EV({ent: {"key": "value"}})
|
||||
store.get.cache_clear()
|
||||
assert store.get(ent) == {"key": "value"}
|
||||
assert store.get.cache_info().currsize == 1
|
||||
assert store.get.cache_info().misses == 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user