Added pytest-mock

This commit is contained in:
Roger Gonzalez 2024-12-06 16:35:22 -03:00
parent c38321331c
commit 2e3b464aac
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
2 changed files with 19 additions and 1 deletions

19
poetry.lock generated
View File

@ -986,6 +986,23 @@ pytest = ">=4.6"
[package.extras] [package.extras]
testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"]
[[package]]
name = "pytest-mock"
version = "3.14.0"
description = "Thin-wrapper around the mock package for easier use with pytest"
optional = false
python-versions = ">=3.8"
files = [
{file = "pytest-mock-3.14.0.tar.gz", hash = "sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0"},
{file = "pytest_mock-3.14.0-py3-none-any.whl", hash = "sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f"},
]
[package.dependencies]
pytest = ">=6.2.5"
[package.extras]
dev = ["pre-commit", "pytest-asyncio", "tox"]
[[package]] [[package]]
name = "python-dateutil" name = "python-dateutil"
version = "2.9.0.post0" version = "2.9.0.post0"
@ -1521,4 +1538,4 @@ type = ["pytest-mypy"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.9" python-versions = "^3.9"
content-hash = "efa4715a8fa85f1888e3764eb76237e1284fc1d83a8063366d794fc2bde872e7" content-hash = "cf6095e2e05813e0f490c7bab4416be31710b31acec025f3c9fdb8cecdc9b109"

View File

@ -22,6 +22,7 @@ python-lsp-server = "^1.12.0"
ruff = "^0.8.0" ruff = "^0.8.0"
pytest = "^8.3.4" pytest = "^8.3.4"
pytest-cov = "^6.0.0" pytest-cov = "^6.0.0"
pytest-mock = "^3.14.0"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]