permissions: move self-checkout to invenio-app-ils #2130
tests.yml
on: pull_request
Node_Tests
0s
Matrix: Python_Tests
Annotations
4 errors
Node_Tests
Unable to resolve action `actions/setup-node@v5`, unable to find version `v5`
|
Python_Tests (3.9, postgresql14, opensearch2):
tests/migrator/xml_imports/test_migrate_journal.py#L23
test_migrate_record
AssertionError: assert {'_created': ...zGeCERN', ...} == {'_created': ...zGeCERN', ...}
Omitting 16 identical items, use -vv to show
Differing items:
{'_migration': {'conference_title': '', 'eitems_ebl': [], 'eitems_external': [], 'eitems_file_links': [], ...}} != {'_migration': {'has_related': True, 'is_multipart': False, 'record_type': 'journal', 'related': [{'related_recid': '229630', 'relation_description': None, 'relation_type': 'sequence', 'sequence_order': 'previous'}], ...}}
Full diff:
{
'_created': '1992-01-21',
- '_migration': {'has_related': True,
+ '_migration': {'conference_title': '',
+ 'eitems_ebl': [],
+ 'eitems_external': [],
+ 'eitems_file_links': [],
+ 'eitems_has_ebl': False,
+ 'eitems_has_external': False,
+ 'eitems_has_files': False,
+ 'eitems_has_proxy': False,
+ 'eitems_has_safari': False,
+ 'eitems_internal_notes': '',
+ 'eitems_open_access': False,
+ 'eitems_proxy': [],
+ 'eitems_safari': [],
+ 'has_journal': False,
+ 'has_medium': False,
+ 'has_related': True,
+ 'has_serial': False,
'is_multipart': False,
+ 'is_yellow_report': False,
+ 'item_medium': [],
+ 'items': [],
+ 'journal_record_legacy_recids': [],
'record_type': 'journal',
'related': [{'related_recid': '229630',
'relation_description': None,
'relation_type': 'sequence',
'sequence_order': 'previous'}],
+ 'serials': [],
+ 'tags': [],
- 'volumes': []},
? -
+ 'volumes': [],
+ 'volumes_identifiers': [],
+ 'volumes_urls': []},
'access_urls': [{'access_restriction': ['RESTRICTED_PERPETUAL_ACCESS_BACKFILES'],
'description': 'v 1 (1950) - v 18 (1967)',
'login_required': True,
'open_access': False,
'value': 'http://iopscience.iop.org/0508-3443'}],
'agency_code': 'SzGeCERN',
'alternative_titles': [{'type': 'ABBREVIATION',
'value': 'Br. J. Appl. Phys.'}],
'identifiers': [{'material': 'PRINT_VERSION',
'scheme': 'ISSN',
'value': '0508-3443'}],
'internal_notes': [{'value': 'Online archives purchased 2014'}],
'keywords': [{'source': 'CERN',
'value': 'Institute of Physics'},
{'source': 'CERN',
'value': 'JPD'},
{'source': 'CERN',
'value': 'JPhysD'}],
'languages': ['ENG'],
'legacy_recid': 229384,
'mode_of_issuance': 'SERIAL',
'note': 'Explanation of the series change: v 1 - 18 (1950-67); ser 2 v 1 - 2 '
'(1968-69). Ser 2 subtitled: Journal of physics D',
'physical_volumes': [{'description': 'v 1 (1950) - v 18 (1967)',
'location': 'DE2'}],
'publisher': 'IOP',
'series_type': 'PERIODICAL',
'subjects': [{'scheme': 'UDC',
'value': '53'}],
'title': 'British journal of applied physics',
}
|
Python_Tests (3.9, postgresql14, opensearch2):
cds_ils/patrons/permissions.py#L1
isort-check
from invenio_access import action_factory
from invenio_access.permissions import Permission
-from invenio_app_ils.permissions import (
- backoffice_access_action,
-)
+from invenio_app_ils.permissions import backoffice_access_action
from invenio_app_ils.permissions import (
views_permissions_factory as ils_views_permissions_factory,
)
|
Python_Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|