Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [
license = "GPL-2.0"
requires-python = ">=3.9"
dependencies = [
"invenio-app-rdm[opensearch2, profiler]>=v15.0.0b5.dev0",
"invenio-app-rdm[opensearch2, profiler]==v15.0.0b6.dev0",
"invenio-cern-sync",
"invenio-preservation-sync==0.5.0",
"invenio-vcs>=0.0.1",
Expand Down Expand Up @@ -48,6 +48,6 @@ sentry = [
"sentry-sdk>=1.45,<2.0.0",
]
xrootd = [
"invenio-xrootd==2.0.0a2",
"invenio-xrootd==3.1.0",
"requests-kerberos==0.14.0",
]
12 changes: 8 additions & 4 deletions site/tests/inspire_harvester/test_update_create_CDS_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ def test_update_record_with_CDS_DOI_one_doc_type(
assert {
"identifier": "2707794",
"scheme": "inspire",
"relation_type": {"id": "isvariantformof"},
"resource_type": {"id": "publication-preprint"},
"relation_type": {"id": "isvariantformof",
'title': {'en': 'is variant of'}},
"resource_type": {"id": "publication-preprint",
'title': {'de': 'Preprint', 'en': 'Preprint'}},
} in new_version.data["metadata"]["related_identifiers"]
assert {
"identifier": "2310827",
Expand Down Expand Up @@ -284,8 +286,10 @@ def test_update_record_with_CDS_DOI_multiple_doc_types(
assert {
"scheme": "inspire",
"identifier": "2700388",
"relation_type": {"id": "isvariantformof", },
"resource_type": {"id": "publication-article"},
"relation_type": {"id": "isvariantformof",
'title': {'en': 'is variant of'}},
"resource_type": {"id": "publication-article",
'title': {'de': 'Artikel', 'en': 'Article'}},
} in article_v["metadata"]["related_identifiers"]

assert {
Expand Down
Loading
Loading