Properly installs pytest-mock via pipenv

This commit is contained in:
Trenton H 2024-06-28 10:06:50 -07:00
parent be2c55af38
commit 129495e2d0
3 changed files with 12 additions and 3 deletions

View File

@ -140,7 +140,6 @@ jobs:
- -
name: List installed Python dependencies name: List installed Python dependencies
run: | run: |
pipenv --python ${{ steps.setup-python.outputs.python-version }} run pip install pytest_mock
pipenv --python ${{ steps.setup-python.outputs.python-version }} run pip list pipenv --python ${{ steps.setup-python.outputs.python-version }} run pip list
- -
name: Tests name: Tests

View File

@ -55,7 +55,7 @@ tqdm = "*"
uvicorn = {extras = ["standard"], version = "==0.25.0"} uvicorn = {extras = ["standard"], version = "==0.25.0"}
watchdog = "~=4.0" watchdog = "~=4.0"
whitenoise = "~=6.7" whitenoise = "~=6.7"
whoosh="~=2.7" whoosh = "~=2.7"
zxing-cpp = {version = "*", platform_machine = "== 'x86_64'"} zxing-cpp = {version = "*", platform_machine = "== 'x86_64'"}
[dev-packages] [dev-packages]
@ -71,6 +71,7 @@ pytest-httpx = "*"
pytest-env = "*" pytest-env = "*"
pytest-sugar = "*" pytest-sugar = "*"
pytest-xdist = "*" pytest-xdist = "*"
pytest-mock = "*"
pytest-rerunfailures = "*" pytest-rerunfailures = "*"
imagehash = "*" imagehash = "*"
daphne = "*" daphne = "*"

11
Pipfile.lock generated
View File

@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "37d8a84e16b6f6785d0daa79b249beab7fbef0c177a13eccfce79816bf61ccd0" "sha256": "272a69e9011a60f2d326b77d99d261425b66ebcc8ae929372213700ae47de0f5"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": {}, "requires": {},
@ -3359,6 +3359,15 @@
"markers": "python_version >= '3.9'", "markers": "python_version >= '3.9'",
"version": "==0.30.0" "version": "==0.30.0"
}, },
"pytest-mock": {
"hashes": [
"sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f",
"sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0"
],
"index": "pypi",
"markers": "python_version >= '3.8'",
"version": "==3.14.0"
},
"pytest-rerunfailures": { "pytest-rerunfailures": {
"hashes": [ "hashes": [
"sha256:4197bdd2eaeffdbf50b5ea6e7236f47ff0e44d1def8dae08e409f536d84e7b32", "sha256:4197bdd2eaeffdbf50b5ea6e7236f47ff0e44d1def8dae08e409f536d84e7b32",