From 5a9160b9a8f20249df342401aa0b6225691a5805 Mon Sep 17 00:00:00 2001 From: Martijn van Exel Date: Sat, 10 Aug 2024 11:35:12 -0600 Subject: [PATCH] add back requests-mock --- poetry.lock | 19 ++++++++++++++++++- pyproject.toml | 1 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 1a0f75940a..a84aa8c840 100644 --- a/poetry.lock +++ b/poetry.lock @@ -389,6 +389,23 @@ urllib3 = ">=1.21.1,<3" socks = ["PySocks (>=1.5.6,!=1.5.7)"] use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] +[[package]] +name = "requests-mock" +version = "1.12.1" +description = "Mock out responses from the requests package" +optional = false +python-versions = ">=3.5" +files = [ + {file = "requests-mock-1.12.1.tar.gz", hash = "sha256:e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401"}, + {file = "requests_mock-1.12.1-py2.py3-none-any.whl", hash = "sha256:b1e37054004cdd5e56c84454cc7df12b25f90f382159087f4b6915aaeef39563"}, +] + +[package.dependencies] +requests = ">=2.22,<3" + +[package.extras] +fixture = ["fixtures"] + [[package]] name = "shapely" version = "2.0.5" @@ -519,4 +536,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.0" python-versions = ">3.9, <3.12" -content-hash = "6bd263541e92433bc8567ed5d8faf010a500b5d73f1ffe91959443f646a0b369" +content-hash = "26b1bffda3923f87b068d15891c24d9a916009cf6c8fb52f94540bcf32d47f20" diff --git a/pyproject.toml b/pyproject.toml index da5e91dba2..a4aae4fbc0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ tox = "^4.6.3" [tool.poetry.group.dev.dependencies] geojson = "^3.1.0" +requests-mock = {extras = ["fixtures"], version = "^1.12.1"} [build-system] requires = ["poetry-core"]