diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-21 14:05:26 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-21 14:05:26 -0700 |
commit | d58721ddb034363db10eb013986f560a87df7a19 (patch) | |
tree | 2f25cf50a638aa6db08d9470ecc8243db869b00c /tests/test_grobid_unstructured.py | |
parent | c1059b97772e91468edbcacab6bd830ca1ffaa81 (diff) | |
download | grobid_tei_xml-d58721ddb034363db10eb013986f560a87df7a19.tar.gz grobid_tei_xml-d58721ddb034363db10eb013986f560a87df7a19.zip |
make fmt
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" - - |