Skip to content

Commit cb03af2

Browse files
committed
Sync up implementations of ttl stuff; test fixes
1 parent a388656 commit cb03af2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_async_cluster_mode.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ async def test_async_cluster_mode_behavior_differs(
174174
mock_async_redis_cluster_client.pipeline_calls = []
175175
await async_cluster_store.aput(("test_ns",), "key_cluster", {"data": "c"}, ttl=1.0)
176176

177-
assert len(mock_async_redis_cluster_client.expire_calls) > 0, (
178-
"Expire should be called directly for async cluster client"
179-
)
177+
assert (
178+
len(mock_async_redis_cluster_client.expire_calls) > 0
179+
), "Expire should be called directly for async cluster client"
180180
assert not any(
181181
call.get("transaction") is True
182182
for call in mock_async_redis_cluster_client.pipeline_calls

0 commit comments

Comments
 (0)