sso: integrate CERN login #18
Annotations
10 errors
|
Run tests:
tests/test_authz_serializer.py#L31
test_serialize
AssertionError: assert {'affiliation...n': 'IR', ...} == {'affiliation...n': 'IR', ...}
Omitting 9 identical items, use -vv to show
Left contains 1 more item:
{'orcid': '0000-0002-2227-1220'}
Full diff:
{
'affiliations': 'CERN',
'cern_department': 'IT',
'cern_group': 'CA',
'cern_section': 'IR',
'family_name': 'Doe 0',
'full_name': 'John Doe 0',
'given_name': 'John',
'mailbox': '',
+ 'orcid': '0000-0002-2227-1220',
'person_id': '12340',
}
|
Run tests:
tests/test_sync_users.py#L94
test_sync_authz
ValueError: Validation failed: {'orcid': ['Unknown field.']}
|
Run tests:
tests/test_sync_users.py#L122
test_sync_ldap
AssertionError: assert 'CERN' == ['CERN']
|
Run tests:
tests/test_sync_users.py#L170
test_sync_update_insert
ValueError: Validation failed: {'orcid': ['Unknown field.']}
|
Run tests:
tests/test_sync_users.py#L223
test_sync_person_id_change
ValueError: Validation failed: {'orcid': ['Unknown field.']}
|
Run tests:
tests/test_sync_users.py#L267
test_sync_username_email_change
ValueError: Validation failed: {'orcid': ['Unknown field.']}
|
Run tests:
invenio_cern_sync/authz/mapper.py#L1
pydocstyle-check
/home/runner/work/invenio-cern-sync/invenio-cern-sync/invenio_cern_sync/authz/mapper.py:12 in public function `userprofile_mapper`:
D209: Multi-line docstring closing quotes should be on a separate line
|
Run tests:
invenio_cern_sync/ldap/mapper.py#L1
pydocstyle-check
/home/runner/work/invenio-cern-sync/invenio-cern-sync/invenio_cern_sync/ldap/mapper.py:14 in public function `userprofile_mapper`:
D209: Multi-line docstring closing quotes should be on a separate line
|
Run tests
The operation was canceled.
|
Loading