aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/import_crossref.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-22 16:27:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-22 16:27:27 -0800
commit9ab88508ed710de9db06a27436042ac30a70676e (patch)
tree47c0c8b7a15eaf88eb7472944d21f4b328b4de94 /python/tests/import_crossref.py
parentc6444a6ebee4a541735705e10885067e6d012df1 (diff)
downloadfatcat-9ab88508ed710de9db06a27436042ac30a70676e.tar.gz
fatcat-9ab88508ed710de9db06a27436042ac30a70676e.zip
crossref importer updates
Diffstat (limited to 'python/tests/import_crossref.py')
-rw-r--r--python/tests/import_crossref.py3
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