mirror of
https://github.com/langgenius/dify.git
synced 2026-05-01 07:58:02 +08:00
fix start_time -> update_time
This commit is contained in:
@ -100,7 +100,7 @@ class TestApiTokenCacheRedisIntegration:
|
||||
assert 595 <= ttl <= 600 # Should be around 600 seconds (10 minutes)
|
||||
|
||||
def test_cache_null_value_for_invalid_token(self):
|
||||
"""Test caching null value for invalid tokens (防穿透)."""
|
||||
"""Test caching null value for invalid tokens """
|
||||
# Cache null value
|
||||
result = ApiTokenCache.set(self.test_token, self.test_scope, None)
|
||||
assert result is True
|
||||
|
||||
Reference in New Issue
Block a user