diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-22 16:27:27 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-22 16:27:27 -0800 |
commit | 9ab88508ed710de9db06a27436042ac30a70676e (patch) | |
tree | 47c0c8b7a15eaf88eb7472944d21f4b328b4de94 /python/tests/import_crossref.py | |
parent | c6444a6ebee4a541735705e10885067e6d012df1 (diff) | |
download | fatcat-9ab88508ed710de9db06a27436042ac30a70676e.tar.gz fatcat-9ab88508ed710de9db06a27436042ac30a70676e.zip |
crossref importer updates
Diffstat (limited to 'python/tests/import_crossref.py')
-rw-r--r-- | python/tests/import_crossref.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tests/import_crossref.py b/python/tests/import_crossref.py index e2ca6122..89ce9fc9 100644 --- a/python/tests/import_crossref.py +++ b/python/tests/import_crossref.py @@ -61,7 +61,8 @@ def test_crossref_dict_parse(crossref_importer): assert len(r.contribs) == 5 assert r.contribs[0].raw_name == "Marcelo D. Radicioni" assert r.contribs[0].index == 0 - assert r.contribs[1].extra['affiliations'] == ["Some University"] + assert r.contribs[1].raw_affiliation == "Some University" + assert r.contribs[1].extra['affiliations'] == ["Some Department"] assert r.contribs[1].role == "author" assert r.contribs[3].role == "editor" assert r.contribs[3].index is None |