diff options
Diffstat (limited to 'python/tests/import_grobid_metadata.py')
-rw-r--r-- | python/tests/import_grobid_metadata.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tests/import_grobid_metadata.py b/python/tests/import_grobid_metadata.py index 4fed4aaa..51ab3faa 100644 --- a/python/tests/import_grobid_metadata.py +++ b/python/tests/import_grobid_metadata.py @@ -25,6 +25,8 @@ def test_grobid_metadata_parse(grobid_metadata_importer): assert len(re.contribs) == 5 print(re.contribs) assert re.contribs[0].raw_name == "Wahyu Ary" + assert re.contribs[0].given_name == "Wahyu" + assert re.contribs[0].surname == "Ary" assert re.publisher == None if re.extra: assert re.extra.get('container_name') == None |