add pytest lib as explicit project dependency

This commit is contained in:
Jakub Miazek 2024-03-20 13:29:43 +01:00
parent f0ce1e6550
commit c0380029cb
3 changed files with 3 additions and 21 deletions

View File

@ -191,7 +191,7 @@ I've included a few of my favorites to kick things off!
[uvicorn-url]: https://www.uvicorn.org/
[asyncpg.github.io]: https://img.shields.io/badge/asyncpg-0.29.0-2e6fce?style=for-the-badge&logo=postgresql&logoColor=white
[asyncpg-url]: https://magicstack.github.io/asyncpg/current/
[pytest.org]: https://img.shields.io/badge/pytest-7.4.4-fff?style=for-the-badge&logo=pytest&logoColor=white
[pytest.org]: https://img.shields.io/badge/pytest-8.1.1-fff?style=for-the-badge&logo=pytest&logoColor=white
[pytest-url]: https://docs.pytest.org/en/6.2.x/
[alembic.sqlalchemy.org]: https://img.shields.io/badge/alembic-1.13.1-6BA81E?style=for-the-badge&logo=alembic&logoColor=white
[alembic-url]: https://alembic.sqlalchemy.org/en/latest/

20
poetry.lock generated
View File

@ -1289,24 +1289,6 @@ pluggy = ">=1.4,<2.0"
[package.extras]
testing = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"]
[[package]]
name = "pytest-asyncio"
version = "0.23.6"
description = "Pytest support for asyncio"
optional = false
python-versions = ">=3.8"
files = [
{file = "pytest-asyncio-0.23.6.tar.gz", hash = "sha256:ffe523a89c1c222598c76856e76852b787504ddb72dd5d9b6617ffa8aa2cde5f"},
{file = "pytest_asyncio-0.23.6-py3-none-any.whl", hash = "sha256:68516fdd1018ac57b846c9846b954f0393b26f094764a28c955eabb0536a4e8a"},
]
[package.dependencies]
pytest = ">=7.0.0,<9"
[package.extras]
docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"]
testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"]
[[package]]
name = "pytest-cov"
version = "4.1.0"
@ -2111,4 +2093,4 @@ files = [
[metadata]
lock-version = "2.0"
python-versions = "^3.11"
content-hash = "0b793bf142f13a8a37517c9039bf2c78255ab7c7b1b1182fe5ea8eed07706df1"
content-hash = "afda701d53254c85e9d641e351758446803a05074c6596cd389f99a445503d9e"

View File

@ -16,8 +16,8 @@ uvicorn = { version = "0.29.0", extras = ["standard"]}
asyncpg = "0.29.0"
alembic = "1.13.1"
httpx = "0.27.0"
pytest = "^8.1.1"
pytest-cov = "4.1.0"
pytest-asyncio = "0.23.6"
uvloop = "0.19.0"
httptools = "0.6.1"
rich = "13.7.1"