From 129495e2d0470e669b8d6d0a26b4d300f4b68b0f Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Fri, 28 Jun 2024 10:06:50 -0700 Subject: [PATCH] Properly installs pytest-mock via pipenv --- .github/workflows/ci.yml | 1 - Pipfile | 3 ++- Pipfile.lock | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90b30b6dc..b0092cb1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,7 +140,6 @@ jobs: - name: List installed Python dependencies 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 - name: Tests diff --git a/Pipfile b/Pipfile index 69c3084ec..77bb99bcf 100644 --- a/Pipfile +++ b/Pipfile @@ -55,7 +55,7 @@ tqdm = "*" uvicorn = {extras = ["standard"], version = "==0.25.0"} watchdog = "~=4.0" whitenoise = "~=6.7" -whoosh="~=2.7" +whoosh = "~=2.7" zxing-cpp = {version = "*", platform_machine = "== 'x86_64'"} [dev-packages] @@ -71,6 +71,7 @@ pytest-httpx = "*" pytest-env = "*" pytest-sugar = "*" pytest-xdist = "*" +pytest-mock = "*" pytest-rerunfailures = "*" imagehash = "*" daphne = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 6c8a8c724..cda0f7681 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "37d8a84e16b6f6785d0daa79b249beab7fbef0c177a13eccfce79816bf61ccd0" + "sha256": "272a69e9011a60f2d326b77d99d261425b66ebcc8ae929372213700ae47de0f5" }, "pipfile-spec": 6, "requires": {}, @@ -3359,6 +3359,15 @@ "markers": "python_version >= '3.9'", "version": "==0.30.0" }, + "pytest-mock": { + "hashes": [ + "sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f", + "sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0" + ], + "index": "pypi", + "markers": "python_version >= '3.8'", + "version": "==3.14.0" + }, "pytest-rerunfailures": { "hashes": [ "sha256:4197bdd2eaeffdbf50b5ea6e7236f47ff0e44d1def8dae08e409f536d84e7b32",