doi: handle UI for optional DOI feature #5804
Annotations
2 errors
Run tests:
tests/services/test_rdm_service.py#L104
test_publish_public_record_versions_no_or_external_doi_managed_doi
AssertionError: assert 'doi' in {}
+ where {} = {'id': 'njx1c-ttq20', 'pid': {'pk': 29, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'rec'}, 'pids': {}, 'access': ...ditions_text': None, 'secret_link_expiration': 0}}, '$schema': 'local://records/parent-v3.0.0.json', 'communities': {}}.pids
+ where {'id': 'njx1c-ttq20', 'pid': {'pk': 29, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'rec'}, 'pids': {}, 'access': ...ditions_text': None, 'secret_link_expiration': 0}}, '$schema': 'local://records/parent-v3.0.0.json', 'communities': {}} = {'$schema': 'local://records/record-v6.0.0.json', 'pid': {'pk': 32, 'pid_type': 'recid', 'status': 'R', 'obj_type': 'r...s': [], 'access': {'record': 'public', 'files': 'public', 'embargo': {'active': False, 'until': None, 'reason': None}}}.parent
+ where {'$schema': 'local://records/record-v6.0.0.json', 'pid': {'pk': 32, '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 0x7f09513b7da0>._record
|
Run tests
Process completed with exit code 1.
|
Loading