summaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-01-29 23:56:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-01-29 23:56:27 -0800
commitade1eb9ff955ca5ba58acdc8b76e344c9cc54790 (patch)
tree192e6756fe0b4bc83b43323f8e5b47419eb8ed1b /python/tests
parent749295a16dd18aa64b87f6b7c3e0e6052931161a (diff)
downloadfatcat-ade1eb9ff955ca5ba58acdc8b76e344c9cc54790.tar.gz
fatcat-ade1eb9ff955ca5ba58acdc8b76e344c9cc54790.zip
fix ES file schema plural field names
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/transform_elasticsearch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/transform_elasticsearch.py b/python/tests/transform_elasticsearch.py
index 89a4eef8..c247e745 100644
--- a/python/tests/transform_elasticsearch.py
+++ b/python/tests/transform_elasticsearch.py
@@ -106,7 +106,7 @@ def test_elasticsearch_file_transform(matched_importer):
assert es['size_bytes'] == f.size
assert es['mimetype'] == f.mimetype
assert es['in_ia'] == True
- assert 'web' in es['rel']
+ assert 'web' in es['rels']
# XXX: implement hosts and domain parsing with urlcanon
#assert 'journals.plos.org' in es['host']