From e27e3f443ea35b145dd07c252cdc8619d7c2ab15 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 15 May 2019 17:13:05 -0700 Subject: minor jalc test cleanup --- python/tests/import_jalc.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'python/tests/import_jalc.py') diff --git a/python/tests/import_jalc.py b/python/tests/import_jalc.py index 7b25f0fa..e92c26c0 100644 --- a/python/tests/import_jalc.py +++ b/python/tests/import_jalc.py @@ -43,7 +43,7 @@ def test_jalc_importer(jalc_importer): assert counts['skip'] == 0 assert last_index == jalc_importer.api.get_changelog(limit=1)[0].index -def test_jalc_dict_parse(jalc_importer): +def test_jalc_xml_parse(jalc_importer): with open('tests/files/jalc_lod_sample.xml', 'r') as f: soup = BeautifulSoup(f, "xml") r = jalc_importer.parse_record(soup.find_all("Description")[0]) @@ -62,11 +62,6 @@ def test_jalc_dict_parse(jalc_importer): assert r.issue == "8" assert r.pages == "898-902" assert r.release_year == 1989 - # XXX: - #assert 'subtitle' not in r.extra - #assert 'subtitle' not in r.extra['jalc'] - #assert 'funder' not in r.extra - #assert 'funder' not in r.extra['jalc'] # matched by ISSN, so shouldn't be in there? #assert extra['container_name'] == "International Journal of Quantum Chemistry" assert len(r.contribs) == 4 -- cgit v1.2.3