aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-23 00:38:43 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-23 00:38:43 -0700
commita7b053dac71d6a3978f3fa788364f4df68853604 (patch)
tree6bb36b0388e344253426e48b473d6974907acb8e
parent47d850df7f9ad6a29485691b0d576035e25302be (diff)
downloadfatcat-scholar-a7b053dac71d6a3978f3fa788364f4df68853604.tar.gz
fatcat-scholar-a7b053dac71d6a3978f3fa788364f4df68853604.zip
pipenv: add pytest-mock (for ES search tests)
-rw-r--r--Pipfile1
-rw-r--r--Pipfile.lock10
2 files changed, 10 insertions, 1 deletions
diff --git a/Pipfile b/Pipfile
index 7a68464..2fec268 100644
--- a/Pipfile
+++ b/Pipfile
@@ -36,6 +36,7 @@ pytype = "*"
flake8 = "*"
flake8-annotations = "*"
pytest = "*"
+pytest-mock = "*"
pytest-cov = "*"
# must lock black to an exact version because it is still "beta"
# see: https://github.com/psf/black/issues/517
diff --git a/Pipfile.lock b/Pipfile.lock
index c25a066..33e5f1a 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256": "8f4eb70e513b49ff7f98b817e20cde51e387449e467070e3cc5a0076d0eed24e"
+ "sha256": "e37cb8c091827eaa0f9ab837db880165e635c2b548896d2b943e6170d9470c44"
},
"pipfile-spec": 6,
"requires": {
@@ -808,6 +808,14 @@
"index": "pypi",
"version": "==2.10.1"
},
+ "pytest-mock": {
+ "hashes": [
+ "sha256:024e405ad382646318c4281948aadf6fe1135632bea9cc67366ea0c4098ef5f2",
+ "sha256:a4d6d37329e4a893e77d9ffa89e838dd2b45d5dc099984cf03c703ac8411bb82"
+ ],
+ "index": "pypi",
+ "version": "==3.3.1"
+ },
"pytype": {
"hashes": [
"sha256:15d3898bf800004520ed603e1cfa5ac1d4a57642f2460c03ccc046cbffc8ab1b",