diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-21 11:34:21 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-21 11:41:29 -0700 |
commit | b9f6e139ba672d430c0918062fd3dd4f942fd812 (patch) | |
tree | eb42b0a5fe092379a0923c019171dc777b6a6031 /python/tests/import_arxiv.py | |
parent | 9688cedac61729bc417a3cb31096f52bdb6f16db (diff) | |
download | fatcat-b9f6e139ba672d430c0918062fd3dd4f942fd812.tar.gz fatcat-b9f6e139ba672d430c0918062fd3dd4f942fd812.zip |
arxiv importer polish
Diffstat (limited to 'python/tests/import_arxiv.py')
-rw-r--r-- | python/tests/import_arxiv.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tests/import_arxiv.py b/python/tests/import_arxiv.py index 8d91be10..bc4fca02 100644 --- a/python/tests/import_arxiv.py +++ b/python/tests/import_arxiv.py @@ -69,7 +69,8 @@ def test_arxiv_xml_parse(arxiv_importer): # matched by ISSN, so shouldn't be in there? #assert extra['container_name'] == "Abstracts of the Papers Communicated to the Royal Society of London" assert len(r1.contribs) == 4 - # XXX: extra['arxiv'] stuff + assert r1.extra['arxiv']['categories'] == ['cond-mat.stat-mech', 'physics.bio-ph', 'physics.data-an'] + assert r1.extra['arxiv']['base_id'] == '1810.09584' assert r1.contribs[0].raw_name == "Raphael Chetrite" assert r1.contribs[0].role == "author" |