Skip to content

Commit 98f44d3

Browse files
abrookinsCopilot
andauthored
Update tests/conftest.py
Co-authored-by: Copilot <[email protected]>
1 parent 50d10cf commit 98f44d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def client(redis_url):
7777
async def clear_redis(redis_url: str) -> None:
7878
"""Clear Redis before each test."""
7979
# Add a small delay to allow container to stabilize between tests
80-
time.sleep(0.1)
80+
await asyncio.sleep(0.1)
8181
try:
8282
client = Redis.from_url(redis_url, socket_connect_timeout=5)
8383
await client.flushall()

0 commit comments

Comments
 (0)