aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/transform_tests.py
diff options
context:
space:
mode:
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": {},