diff --git a/packages/devutils/poetry.lock b/packages/devutils/poetry.lock index c33672ae9b..f5bc324b15 100644 --- a/packages/devutils/poetry.lock +++ b/packages/devutils/poetry.lock @@ -611,6 +611,23 @@ files = [ [package.dependencies] pytest = ">=5.0" +[[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]] name = "pytest-regressions" version = "1.0.6" @@ -908,4 +925,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "8ed75dc1bd8dd7bce39fc27552ceb7a39292ff9732d093ea8f989c2b2e96a169" +content-hash = "60d0e93470c723ad924cfd443728b3131e74bc58fc1e0607beb7bc96129b51cf" diff --git a/packages/devutils/pyproject.toml b/packages/devutils/pyproject.toml index 66cf007b16..9ef38b6f23 100644 --- a/packages/devutils/pyproject.toml +++ b/packages/devutils/pyproject.toml @@ -16,6 +16,7 @@ pytest = "^7.2.2" pytest-xdist = "^3.2.1" pytest-regressions = "1.0.6" pytest-cov = "^4.0.0" +pytest-mock = "^3.8.2" isort = { version = "^5.12.0", python = "^3.8" } types-invoke = "^2.0" invoke = "^2.2.0" # keep in sync with requirements.txt diff --git a/packages/main/poetry.lock b/packages/main/poetry.lock index 97b142ba1d..64a53ff017 100644 --- a/packages/main/poetry.lock +++ b/packages/main/poetry.lock @@ -2360,6 +2360,23 @@ files = [ freezegun = ">0.3" pytest = ">=3.0.0" +[[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]] name = "pytest-regressions" version = "1.0.6" @@ -2945,6 +2962,7 @@ mypy = "^1.1.1" pylint = "^3.3.2" pytest = "^7.2.2" pytest-cov = "^4.0.0" +pytest-mock = "^3.8.2" pytest-regressions = "1.0.6" pytest-xdist = "^3.2.1" PyYAML = ">=5.4.1,<7.0.0"