doi: handle UI for optional DOI feature #5791
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': 'c4fex-kck28', '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:e60wd-51b98', 'provider': 'oai'}}
+ where {'oai': {'identifier': 'oai:inveniordm:e60wd-51b98', '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 0x7fa5d39c1be0>._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 0x7fa5dbfcb280>.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 0x7fa5dc534e20>.total
|
Loading