From 6c3d5faf9160472518ba8f34eb894194f5b8bc80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Aug 2024 03:51:54 +0000 Subject: [PATCH 1/2] Bump pytest-asyncio from 0.21.2 to 0.23.8 Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.21.2 to 0.23.8. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.21.2...v0.23.8) --- updated-dependencies: - dependency-name: pytest-asyncio dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- poetry.lock | 14 +++++++------- pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) 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" From 8d752878f7574e01872d86d8e289b9edd3e00656 Mon Sep 17 00:00:00 2001 From: Yurii Karabas <1998uriyyo@gmail.com> Date: Fri, 23 Aug 2024 00:17:05 +0300 Subject: [PATCH 2/2] Update base.py --- tests/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"