Starting May 1st we will delete old versions of uploaded container images from the container registry. More Details

Fixed wrong key in ems test.

parent 3131f2b3
Pipeline #46752 passed with stages
in 15 minutes and 54 seconds
......@@ -242,7 +242,7 @@ def test_ems_data(proc_infra, test_user, monkeypatch):
upload = run_processing(('test_ems_upload', 'tests/data/proc/example_ems.zip'), test_user)
additional_keys = ['method', 'location', 'experiment_time', 'formula', 'chemical']
additional_keys = ['method', 'experiment_location', 'experiment_time', 'formula', 'chemical']
assert upload.total_calcs == 1
assert len(upload.calcs) == 1
......
......@@ -151,7 +151,6 @@ def assert_search_upload(upload: datamodel.UploadWithMetadata, additional_keys:
for key in additional_keys:
assert key in hit
print('%s: %s' % (key, str(hit[key])))
assert hit[key] != config.services.unavailable_value
for coauthor in hit.get('coauthors', []):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment