We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f586d17 commit 41516e3Copy full SHA for 41516e3
1 file changed
tests/integration/conftest.py
@@ -44,9 +44,13 @@ def client(api_key):
44
@pytest.fixture
45
async def async_client(api_key):
46
"""Async Fish Audio client."""
47
+ import asyncio
48
+
49
client = AsyncFishAudio(api_key=api_key)
50
yield client
51
await client.close()
52
+ # Brief delay to avoid API rate limits on WebSocket connections
53
+ await asyncio.sleep(0.3)
54
55
56
0 commit comments