doi: handle UI for optional DOI feature #5793
Annotations
10 errors
Run tests:
tests/requests/test_user_moderation_actions.py#L60
test_user_moderation_approve
invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
|
Run tests:
tests/resources/test_resources_communities.py#L424
test_create_new_version_after_inclusion_request
assert 400 == 202
+ where 400 = <WrapperTestResponse streamed [400 BAD REQUEST]>.status_code
|
Run tests:
tests/resources/test_resources_communities.py#L966
test_republish_with_mulitple_communities
invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
|
Run tests:
tests/services/test_rdm_service.py#L1
isort-check
"""Service level tests for Invenio RDM Records."""
+from copy import deepcopy
+
import pytest
-
-from copy import deepcopy
from marshmallow import ValidationError
from invenio_rdm_records.proxies import current_rdm_records
|
Run tests:
tests/services/test_rdm_service.py#L104
test_publish_public_record_with_optional_doi
invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList
|
Run tests:
tests/services/test_rdm_service.py#L219
test_publish_public_record_versions_with_managed_doi_and_doi_optional
sqlalchemy.orm.exc.StaleDataError: UPDATE statement on table 'rdm_records_metadata_version' expected to update 1 row(s); 0 were matched.
|
Run tests:
tests/services/test_rdm_service.py#L279
test_embargo_lift_creates_doi
AssertionError: assert 'doi' in {}
+ where {} = {'id': '1m6y6-daq74', 'pid': {'pk': 52, 'status': 'R', 'obj_type': 'rec', 'pid_type': 'recid'}, 'pids': {}, 'files': {...oto'}, 'publication_date': '2020-06-01'}, 'media_files': {'enabled': False}, 'custom_fields': {}, 'internal_notes': []}.pids
|
Run tests:
tests/services/test_rdm_service.py#L289
test_public_record_to_restricted_keeps_doi
AssertionError: assert 'doi' in {'oai': {'identifier': 'oai:inveniordm:gpv3b-mwk52', 'provider': 'oai'}}
+ where {'oai': {'identifier': 'oai:inveniordm:gpv3b-mwk52', 'provider': 'oai'}} = {'$schema': 'local://records/record-v6.0.0.json', 'pid': {'pk': 55, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'r...s': [], 'access': {'record': 'public', 'files': 'public', 'embargo': {'active': False, 'until': None, 'reason': None}}}.pids
+ where {'$schema': 'local://records/record-v6.0.0.json', 'pid': {'pk': 55, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'r...s': [], 'access': {'record': 'public', 'files': 'public', 'embargo': {'active': False, 'until': None, 'reason': None}}} = <invenio_records_resources.services.records.results.RecordItem object at 0x7fa561593e60>._record
|
Run tests:
tests/services/test_rdm_service.py#L417
test_search_sort_verified_enabled
assert 1 == 2
+ where 1 = <invenio_rdm_records.services.results.RDMRecordList object at 0x7fa561b0de50>.total
|
Run tests:
tests/services/test_record_deletion.py#L142
test_record_deletion_of_specific_version
assert 1 == 2
+ where 1 = <invenio_rdm_records.services.results.RDMRecordList object at 0x7fa5611e8aa0>.total
|
Loading