aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/import_doaj.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-07-19 14:43:33 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-07-19 14:43:33 -0700
commit582495f66e5e08b6e257360097807711e53008d4 (patch)
treef902e6d4f520a9f4b6450fc00e147b5eab5e104c /python/tests/import_doaj.py
parent89bf5c123e598252c4c8fe517bf46a6ac08c82ae (diff)
downloadfatcat-582495f66e5e08b6e257360097807711e53008d4.tar.gz
fatcat-582495f66e5e08b6e257360097807711e53008d4.zip
doaj: fix tests now that container_id is required
Diffstat (limited to 'python/tests/import_doaj.py')
-rw-r--r--python/tests/import_doaj.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/tests/import_doaj.py b/python/tests/import_doaj.py
index 9c4ba552..81f17d7c 100644
--- a/python/tests/import_doaj.py
+++ b/python/tests/import_doaj.py
@@ -144,8 +144,7 @@ def test_doaj_dict_parse(doaj_importer):
assert r.pages == "608-617"
assert r.version is None
assert r.language == "en"
- # matched by ISSN, so wouldn't be defined normally
- assert r.extra["container_name"] == "Materials & Design"
+ assert r.container_id
assert len(r.abstracts) == 1
assert len(r.abstracts[0].content) == 1033
assert len(r.contribs) == 5