test: delete slow, timing-based and redundant tests

This commit is contained in:
imSp4rky
2026-12-05 15:20:05 -07:00
parent 783a2fc185
commit 3a0a74e694
292 changed files with 153 additions and 15174 deletions
-6
View File
@@ -66,12 +66,6 @@ def test_unusable_value_raises_value_error(value: object) -> None:
Cacher.resolve_datetime(value) # type: ignore[arg-type]
def test_zero_seconds_expires_now(cache: Cacher) -> None:
entry = cache.get("key")
entry.set({"a": 1}, expiration=0)
assert entry.expired
def test_expired_jwt_is_stored_as_expired(cache: Cacher) -> None:
entry = cache.get("key")
entry.set(jwt.encode({"exp": int(time.time()) - 60}, "k" * 32, algorithm="HS256"))