summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/importers/crossref.py2
-rw-r--r--python/tests/import_arxiv.py4
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"