summaryrefslogtreecommitdiffstats
path: root/python/tests/import_crossref.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-13 14:23:37 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-13 14:23:37 -0700
commit6f778b5398d9caf9ab31c39bce792f75df9e62ec (patch)
treed80ff93574d915cac2bd70b8d579d50a09b97511 /python/tests/import_crossref.py
parent955d4942d5111cbbd8f4b99d4e3c6d79262dab6e (diff)
downloadfatcat-6f778b5398d9caf9ab31c39bce792f75df9e62ec.tar.gz
fatcat-6f778b5398d9caf9ab31c39bce792f75df9e62ec.zip
python tests passing (release_stage, ext_ids)
Diffstat (limited to 'python/tests/import_crossref.py')
-rw-r--r--python/tests/import_crossref.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/tests/import_crossref.py b/python/tests/import_crossref.py
index d439137d..e090da22 100644
--- a/python/tests/import_crossref.py
+++ b/python/tests/import_crossref.py
@@ -75,13 +75,13 @@ def test_crossref_dict_parse(crossref_importer):
print(r.extra)
assert r.title == "Renormalized perturbation theory by the moment method for degenerate states: Anharmonic oscillators"
- assert r.doi == "10.1002/(sici)1097-461x(1998)66:4<261::aid-qua1>3.0.co;2-t"
assert r.publisher == "Wiley-Blackwell"
assert r.release_type == "article-journal"
- assert r.release_status == "published"
+ assert r.release_stage == "published"
assert r.license_slug == "CC-BY-NC-ND"
assert r.original_title == "Renormalized perturbation theory auf deutsch"
- assert r.isbn13 == "978-3-16-148410-0"
+ assert r.ext_ids.doi == "10.1002/(sici)1097-461x(1998)66:4<261::aid-qua1>3.0.co;2-t"
+ assert r.ext_ids.isbn13 == "978-3-16-148410-0"
assert r.language == "fr"
assert 'subtitle' not in r.extra
assert 'subtitle' not in r.extra['crossref']