[ADD] pytest

This commit is contained in:
Evgeny (Krymmy) Momotov 2025-09-25 13:01:15 +03:00
parent ad138d71a7
commit f7c189c46f
2 changed files with 24 additions and 3 deletions

25
poetry.lock generated
View file

@ -749,6 +749,26 @@ pygments = ">=2.7.2"
[package.extras]
dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "requests", "setuptools", "xmlschema"]
[[package]]
name = "pytest-asyncio"
version = "1.2.0"
description = "Pytest support for asyncio"
optional = false
python-versions = ">=3.9"
groups = ["test"]
files = [
{file = "pytest_asyncio-1.2.0-py3-none-any.whl", hash = "sha256:8e17ae5e46d8e7efe51ab6494dd2010f4ca8dae51652aa3c8d55acf50bfb2e99"},
{file = "pytest_asyncio-1.2.0.tar.gz", hash = "sha256:c609a64a2a8768462d0c99811ddb8bd2583c33fd33cf7f21af1c142e824ffb57"},
]
[package.dependencies]
pytest = ">=8.2,<9"
typing-extensions = {version = ">=4.12", markers = "python_version < \"3.13\""}
[package.extras]
docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1)"]
testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"]
[[package]]
name = "pytest-randomly"
version = "3.16.0"
@ -770,11 +790,12 @@ version = "4.15.0"
description = "Backported and Experimental Type Hints for Python 3.9+"
optional = false
python-versions = ">=3.9"
groups = ["main"]
groups = ["main", "test"]
files = [
{file = "typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548"},
{file = "typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"},
]
markers = {test = "python_version < \"3.13\""}
[[package]]
name = "typing-inspection"
@ -913,4 +934,4 @@ propcache = ">=0.2.1"
[metadata]
lock-version = "2.1"
python-versions = ">=3.11"
content-hash = "c5954d76bc079f9b4bbf9613736bae3246cad30119ea3e97f5a5419ab3d4d5a4"
content-hash = "8ad261ff9b638f6a43a53816d78da99ecb5fa8f32397e8fcb142ce7e7260e9bc"

View file

@ -18,7 +18,7 @@ packages = [{include = "TaxisLibrary", from = "src"}]
[tool.poetry.group.test.dependencies]
pytest-randomly = "^3.15.0"
pytest = "^8.2.0"
pytest-asyncio = "^1.2.0"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]