aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/fixtures.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-12-16 19:54:47 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-12-16 20:16:09 -0800
commit38328c25674fee7781a8d8601e1d47de04186f19 (patch)
tree32d834fb16bb93ad493a053a9b797d9da1e04ac5 /python/tests/fixtures.py
parent20f27677aff762822bbd3aa944caf430c089ab4b (diff)
downloadfatcat-38328c25674fee7781a8d8601e1d47de04186f19.tar.gz
fatcat-38328c25674fee7781a8d8601e1d47de04186f19.zip
add fuzzy matching helper to importer base class
Using fuzzycat. Add basic test coverage.
Diffstat (limited to 'python/tests/fixtures.py')
-rw-r--r--python/tests/fixtures.py7
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")