diff options
Diffstat (limited to 'tests/test_grobid_unstructured.py')
-rw-r--r-- | tests/test_grobid_unstructured.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_grobid_unstructured.py b/tests/test_grobid_unstructured.py index b8d79ca..b203b30 100644 --- a/tests/test_grobid_unstructured.py +++ b/tests/test_grobid_unstructured.py @@ -54,7 +54,8 @@ def test_transform_grobid_ref_xml(): </biblStruct>""" d = transform_grobid_ref_xml(citation_xml) - assert d['title'] == "Mesh migration following abdominal hernia repair: a comprehensive review" + assert d[ + 'title'] == "Mesh migration following abdominal hernia repair: a comprehensive review" assert d['authors'][2]['given_name'] == "L" assert d['authors'][2]['surname'] == "Taveras" assert d['authors'][2]['name'] == "L R Taveras" @@ -65,5 +66,3 @@ def test_transform_grobid_ref_xml(): assert d['volume'] == "23" assert d['issue'] == "2" assert d['journal'] == "Hernia" - - |