summaryrefslogtreecommitdiffstats
path: root/python/tests/transform_tests.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-14 13:42:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-14 13:43:07 -0700
commitc01a4ba190cc18a8186545ebb55c35864676b538 (patch)
tree6ec59ce457bcaa50932f04c44fd781a53ae33c52 /python/tests/transform_tests.py
parent3ee54189b665d37933b6108fb85b28bb823dac4a (diff)
downloadfatcat-c01a4ba190cc18a8186545ebb55c35864676b538.tar.gz
fatcat-c01a4ba190cc18a8186545ebb55c35864676b538.zip
python impl
Diffstat (limited to 'python/tests/transform_tests.py')
-rw-r--r--python/tests/transform_tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/tests/transform_tests.py b/python/tests/transform_tests.py
index 15541a23..27f54d92 100644
--- a/python/tests/transform_tests.py
+++ b/python/tests/transform_tests.py
@@ -21,7 +21,7 @@ def test_rich_elasticsearch_convert(crossref_importer):
title="something",
release_year=1234,
license_slug="CC-BY-NC",
- ext_ids=ReleaseEntityExtIds(),
+ ext_ids=ReleaseExtIds(),
)
r.state = 'active'
r.container = ContainerEntity(
@@ -47,9 +47,9 @@ def test_rich_elasticsearch_convert(crossref_importer):
r.files = [FileEntity(
mimetype="application/pdf",
urls=[
- FileEntityUrls(rel="dweb", url="dat://a954329dlk/thingie"),
- FileEntityUrls(rel="webarchive", url="https://web.archive.org/web/20001122030405/http://example.com"),
- FileEntityUrls(rel="web", url="https://archive.org/details/blah/file.pdf"),
+ FileUrl(rel="dweb", url="dat://a954329dlk/thingie"),
+ FileUrl(rel="webarchive", url="https://web.archive.org/web/20001122030405/http://example.com"),
+ FileUrl(rel="web", url="https://archive.org/details/blah/file.pdf"),
],
extra={
"shadows": {},