diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-22 10:13:04 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-22 10:13:04 -0700 |
commit | 7a25d96ea3b57170d1c13b2633eed99b536ee78d (patch) | |
tree | 062fa943e2576a8bca36e9db4466ea98658e889e /python | |
parent | 1e2f95823bb292bbc3245f93c4e03e47517e2141 (diff) | |
download | fatcat-7a25d96ea3b57170d1c13b2633eed99b536ee78d.tar.gz fatcat-7a25d96ea3b57170d1c13b2633eed99b536ee78d.zip |
arxiv license slug shorter; fix test
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_tools/importers/crossref.py | 2 | ||||
-rw-r--r-- | python/tests/import_arxiv.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_tools/importers/crossref.py b/python/fatcat_tools/importers/crossref.py index 162bff6c..f2e230d1 100644 --- a/python/fatcat_tools/importers/crossref.py +++ b/python/fatcat_tools/importers/crossref.py @@ -73,7 +73,7 @@ LICENSE_SLUG_MAP = { # //www.acm.org/publications/policies/copyright_policy#Background is closed # //rsc.li/journals-terms-of-use is closed for vor (am open) # //www.ieee.org/publications_standards/publications/rights/ieeecopyrightform.pdf is 404 (!) - "//arxiv.org/licenses/nonexclusive-distrib/1.0/": "ARXIV-NED-1.0", # XXX + "//arxiv.org/licenses/nonexclusive-distrib/1.0/": "ARXIV-1.0", } def lookup_license_slug(raw): diff --git a/python/tests/import_arxiv.py b/python/tests/import_arxiv.py index bc4fca02..bbad8fa6 100644 --- a/python/tests/import_arxiv.py +++ b/python/tests/import_arxiv.py @@ -54,8 +54,8 @@ def test_arxiv_xml_parse(arxiv_importer): assert r1.original_title == None assert r1.release_type == "article" assert r1.release_stage == "submitted" - assert r2.release_stage == "published" - assert r1.license_slug == "ARXIV-NED-1.0" + assert r2.release_stage == "accepted" + assert r1.license_slug == "ARXIV-1.0" assert r1.version == "v1" assert r2.version == "v2" assert r1.ext_ids.arxiv == "1810.09584v1" |