We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c19b7e commit aff9006Copy full SHA for aff9006
1 file changed
tests/test_async_login.py
@@ -0,0 +1,18 @@
1
+import scratchattach.async_api as sa
2
+import asyncio
3
+import util
4
+import warnings
5
+import pytest
6
+
7
8
+@pytest.mark.asyncio
9
+async def test_async_login():
10
+ if not util.credentials_available():
11
+ warnings.warn("Skipped test_activity because there were no credentials available.")
12
+ return
13
+ async with await util.async_session() as sess:
14
+ ...
15
16
17
+if __name__ == "__main__":
18
+ asyncio.run(test_async_login())
0 commit comments