We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32c25f6 commit a7d8ef4Copy full SHA for a7d8ef4
tests/conftest.py
@@ -1,4 +1,6 @@
1
+import asyncio
2
import os
3
+import time
4
from typing import AsyncIterator
5
6
import pytest
@@ -18,6 +20,9 @@ def kik() -> DefaultClient:
18
20
"KIK_PASSWORD and KIK_USERNAME environment variables must be set"
19
21
)
22
23
+ # take some breath to avoid getting blocked by the server
24
+ time.sleep(1)
25
+
26
return DefaultClient(
27
username=username,
28
password=password,
@@ -42,4 +47,7 @@ async def akik() -> AsyncIterator[AsyncClient]:
42
47
43
48
44
49
async with c as kik:
50
51
+ await asyncio.sleep(1)
52
45
53
yield kik
0 commit comments