From 9019b412c93feb7635ff2d11fb2e1a0882419a7b Mon Sep 17 00:00:00 2001 From: southfox Date: Mon, 3 Apr 2023 09:50:22 +0800 Subject: [PATCH] chores/add pytest-asyncio package --- poetry.lock | 23 +++++++++++++++++++++-- pyproject.toml | 1 + 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index f6c1415..6c2c751 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand. [[package]] name = "aiosqlite" @@ -725,6 +725,25 @@ tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} [package.extras] testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"] +[[package]] +name = "pytest-asyncio" +version = "0.21.0" +description = "Pytest support for asyncio" +category = "dev" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pytest-asyncio-0.21.0.tar.gz", hash = "sha256:2b38a496aef56f56b0e87557ec313e11e1ab9276fc3863f6a7be0f1d0e415e1b"}, + {file = "pytest_asyncio-0.21.0-py3-none-any.whl", hash = "sha256:f2b3366b7cd501a4056858bd39349d5af19742aed2d81660b7998b6341c7eb9c"}, +] + +[package.dependencies] +pytest = ">=7.0.0" + +[package.extras] +docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] +testing = ["coverage (>=6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypy (>=0.931)", "pytest-trio (>=0.7.0)"] + [[package]] name = "python-dateutil" version = "2.8.2" @@ -1187,4 +1206,4 @@ dev = ["black (>=19.3b0)", "pytest (>=4.6.2)"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "9d609dd48cc1a1017ea6650e956623f7a46663d57a66ea57469375f0ef6d1070" +content-hash = "2c20a9232ec26dfdd08bdb4d560ab826e18e83f03b056ebb997920d727bb3861" diff --git a/pyproject.toml b/pyproject.toml index bcb24b8..ce318ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ cffi = "^1.15.1" [tool.poetry.group.dev.dependencies] pytest = "^7.2.0" +pytest-asyncio = "^0.21.0" [build-system] requires = ["poetry-core"]