Skip to content

Commit

Permalink
tests: disable multi-location input
Browse files Browse the repository at this point in the history
* There seems to be an issue with newer OpenSearch versions and
  multi-value geo_shape fields. This has to be investigated further to
  determine how it can be mitigated.
* Since the field is only available via the REST API at the moment, we
  can live without it.
  • Loading branch information
slint committed Sep 2, 2024
1 parent 1c46594 commit 9f68fb2
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions site/tests/legacy/deposits/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,9 @@ def test_data():
),
],
locations=[
dict(
place="London",
description="A nice location",
lat=10.2,
lon=5,
),
dict(place="Lisbon", lat=5.1231221, lon=1.23232323),
dict(place="London", description="A nice location", lat=10.2, lon=5),
# TODO: Disabled because of a mapping issue with multiple geo points
# dict(place="Lisbon", lat=5.1231221, lon=1.23232323),
],
title="Test title",
upload_type="publication",
Expand Down Expand Up @@ -265,13 +261,9 @@ def expected_record_metadata():
# See https://github.com/zenodo/zenodo-rdm/pull/289
],
locations=[
dict(
place="London",
description="A nice location",
lat=10.2,
lon=5,
),
dict(place="Lisbon", lat=5.1231221, lon=1.23232323),
dict(place="London", description="A nice location", lat=10.2, lon=5),
# TODO: Disabled because of a mapping issue with multiple geo points
# dict(place="Lisbon", lat=5.1231221, lon=1.23232323),
],
title="Test title",
upload_type="publication",
Expand Down

0 comments on commit 9f68fb2

Please sign in to comment.