diff --git a/poetry.lock b/poetry.lock index 59336d7d..11ab0f3a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1686,21 +1686,21 @@ dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments [[package]] name = "pytest-asyncio" -version = "0.21.2" +version = "0.23.8" description = "Pytest support for asyncio" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pytest_asyncio-0.21.2-py3-none-any.whl", hash = "sha256:ab664c88bb7998f711d8039cacd4884da6430886ae8bbd4eded552ed2004f16b"}, - {file = "pytest_asyncio-0.21.2.tar.gz", hash = "sha256:d67738fc232b94b326b9d060750beb16e0074210b98dd8b58a5239fa2a154f45"}, + {file = "pytest_asyncio-0.23.8-py3-none-any.whl", hash = "sha256:50265d892689a5faefb84df80819d1ecef566eb3549cf915dfb33569359d1ce2"}, + {file = "pytest_asyncio-0.23.8.tar.gz", hash = "sha256:759b10b33a6dc61cce40a8bd5205e302978bbbcc00e279a8b61d9a6a3c82e4d3"}, ] [package.dependencies] -pytest = ">=7.0.0" +pytest = ">=7.0.0,<9" [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)"] +testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] [[package]] name = "pytest-cov" @@ -2427,4 +2427,4 @@ tortoise = ["tortoise-orm"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "3b7d5f55739fe7a9f4a8e739267b3b670cc51c12f3151b0dbd4a996686f2feba" +content-hash = "04b33640276e21e9bdd31cfe76ce17a44bd6e908d2b48968f9c8c975434cf2b0" diff --git a/pyproject.toml b/pyproject.toml index 8e80c60c..27d5a273 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ bunnet = {version = "^1.1.0", optional = true} fastapi = ">=0.93.0" pytest = "^8.3.2" pytest-cov = "^5.0.0" -pytest-asyncio = "^0.21.1" +pytest-asyncio = "^0.23.8" flaky = "^3.8.1" pre-commit = "^3.5.0" Faker = "^27.0.0" diff --git a/tests/base.py b/tests/base.py index a8587a11..7f90e35e 100644 --- a/tests/base.py +++ b/tests/base.py @@ -71,7 +71,7 @@ def __init_subclass__(cls, **kwargs): def pagination_type(self): return "default" - @fixture() + @fixture def path(self, cls_name, pagination_type): base = "default" if cls_name == "page" else "limit-offset"