diff options
author | bnewbold <bnewbold@archive.org> | 2020-12-18 02:13:47 +0000 |
---|---|---|
committer | bnewbold <bnewbold@archive.org> | 2020-12-18 02:13:47 +0000 |
commit | 443243e8cccba3e779b7c56d0cdb6dcd992a3100 (patch) | |
tree | b279887d9038daa19b72e53509658f016eaec452 /python/tests/fixtures.py | |
parent | 7d90a0404e3ecb44c7d0ca93b2c32a0f66b8d88a (diff) | |
parent | 5eeb7a9d61beb8cb40fd89bd91fcd9dd820035aa (diff) | |
download | fatcat-443243e8cccba3e779b7c56d0cdb6dcd992a3100.tar.gz fatcat-443243e8cccba3e779b7c56d0cdb6dcd992a3100.zip |
Merge branch 'bnewbold-doaj-fuzzy' into 'master'
DOAJ import fuzzy match filter
See merge request webgroup/fatcat!92
Diffstat (limited to 'python/tests/fixtures.py')
-rw-r--r-- | python/tests/fixtures.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/tests/fixtures.py b/python/tests/fixtures.py index d71ac21d..e0bb1aae 100644 --- a/python/tests/fixtures.py +++ b/python/tests/fixtures.py @@ -45,6 +45,13 @@ ES_CONTAINER_RANDOM_RESP = { 'took': 50 } +ES_RELEASE_EMPTY_RESP = { + 'timed_out': False, + 'hits': {'total': 0, 'hits': [], 'max_score': 0.0}, + '_shards': {'successful': 5, 'total': 5, 'skipped': 0, 'failed': 0}, + 'took': 50 +} + @pytest.fixture def full_app(mocker): load_dotenv(dotenv_path="./example.env") |