Skip to content

Commit a5a2454

Browse files
committed
py(deps[test]): Add pytest-asyncio
why: Required for async test support. what: - Add pytest-asyncio to dev and testing dependency groups
1 parent bbb80be commit a5a2454

2 files changed

Lines changed: 33 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ dev = [
7878
# Testing
7979
"gp-libs",
8080
"pytest",
81+
"pytest-asyncio",
8182
"pytest-rerunfailures",
8283
"pytest-mock",
8384
"pytest-watcher",
@@ -106,6 +107,7 @@ docs = [
106107
testing = [
107108
"gp-libs",
108109
"pytest",
110+
"pytest-asyncio",
109111
"pytest-rerunfailures",
110112
"pytest-mock",
111113
"pytest-watcher",
@@ -233,7 +235,10 @@ testpaths = [
233235
]
234236
filterwarnings = [
235237
"ignore:The frontend.Option(Parser)? class.*:DeprecationWarning::",
238+
"ignore:The configuration option \"asyncio_default_fixture_loop_scope\" is unset.:DeprecationWarning:pytest_asyncio.plugin",
236239
]
240+
asyncio_mode = "strict"
241+
asyncio_default_fixture_loop_scope = "function"
237242

238243
[tool.pytest-watcher]
239244
now = true

uv.lock

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)