Improve test
This commit is contained in:
parent
3133be19e3
commit
32c06f4a05
@ -26,7 +26,9 @@ def test_ttl_cache():
|
||||
assert 'a' in cache1h
|
||||
|
||||
t.move_to("2021-09-01 05:59:59 +00:00")
|
||||
assert 'a' not in cache
|
||||
assert 'a' in cache1h
|
||||
|
||||
t.move_to("2021-09-01 06:00:00 +00:00")
|
||||
assert 'a' not in cache
|
||||
assert 'a' not in cache1h
|
||||
|
Loading…
Reference in New Issue
Block a user