Commit 941c89a3 authored by Pablo Panero's avatar Pablo Panero
Browse files

tests: update binary content extraction

parent be4dbbea
......@@ -55,7 +55,7 @@ def test_binary_es_ocr(endpoint, api_key):
assert resp_data.get('title') == 'Test binary'
assert resp_data.get('description') == 'Test binary with ingest pipeline'
assert resp_data.get('link') == 'localhost/test'
assert resp_data.get('b64') == "{binary_content}".format(binary_content=BINARY_CONTENT)
assert resp_data.get('b64', None) is None
control_number = resp_body.get("control_number")
# Search record
Supports Markdown
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