fix: revert generic writer and define OpenAIRE awards writer logic & fix: exclude unknown fields when updating awards with subjects & 📦 release: v6.4.1 #1606
Annotations
6 errors
Python / Tests (3.9, postgresql14, opensearch2):
tests/contrib/affiliations/test_affiliations_datastreams.py#L216
test_openaire_affiliations_service_writer
AssertionError: assert {'acronym': '...3+00:00', ...} == {'acronym': '...3+00:00', ...}
Omitting 13 identical items, use -vv to show
Differing items:
{'identifiers': [{'identifier': '03yrm5c26', 'scheme': 'ror'}, {'identifier': '999988133', 'scheme': 'pic'}]} != {'identifiers': [{'identifier': '999988133', 'scheme': 'pic'}]}
Full diff:
{
'acronym': 'CERN',
'country': 'CH',
'country_name': 'Switzerland',
'created': '2024-10-15T16:16:42.936943+00:00',
'id': '01ggx4157',
- 'identifiers': [{'identifier': '999988133',
? ^^^^^^^ ^
+ 'identifiers': [{'identifier': '03yrm5c26',
? ^ ^^^^^^^
+ 'scheme': 'ror'},
+ {'identifier': '999988133',
'scheme': 'pic'}],
'links': {'self': 'https://127.0.0.1:5000/api/affiliations/01ggx4157'},
'location_name': 'Geneva',
'name': 'Test affiliation',
'revision_id': 3,
'status': 'active',
'title': {'en': 'Test affiliation',
'es': 'Afiliacion de test'},
'types': ['facility',
'funder'],
'updated': '2024-10-15T16:16:43.007868+00:00',
}
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_vocabularies/contrib/subjects/schema.py#L1
pydocstyle-check
/home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/subjects/schema.py:65 in public nested class `Meta`:
D106: Missing docstring in public nested class
|
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/contrib/affiliations/test_affiliations_datastreams.py#L216
test_openaire_affiliations_service_writer
AssertionError: assert {'acronym': '...8+00:00', ...} == {'acronym': '...8+00:00', ...}
Omitting 13 identical items, use -vv to show
Differing items:
{'identifiers': [{'identifier': '03yrm5c26', 'scheme': 'ror'}, {'identifier': '999988133', 'scheme': 'pic'}]} != {'identifiers': [{'identifier': '999988133', 'scheme': 'pic'}]}
Full diff:
{
'acronym': 'CERN',
'country': 'CH',
'country_name': 'Switzerland',
'created': '2024-10-15T16:16:55.169888+00:00',
'id': '01ggx4157',
- 'identifiers': [{'identifier': '999988133',
? ^^^^^^^ ^
+ 'identifiers': [{'identifier': '03yrm5c26',
? ^ ^^^^^^^
+ 'scheme': 'ror'},
+ {'identifier': '999988133',
'scheme': 'pic'}],
'links': {'self': 'https://127.0.0.1:5000/api/affiliations/01ggx4157'},
'location_name': 'Geneva',
'name': 'Test affiliation',
'revision_id': 3,
'status': 'active',
'title': {'en': 'Test affiliation',
'es': 'Afiliacion de test'},
'types': ['facility',
'funder'],
'updated': '2024-10-15T16:16:55.251837+00:00',
}
|
Python / Tests (3.12, postgresql14, opensearch2):
invenio_vocabularies/contrib/subjects/schema.py#L1
pydocstyle-check
/home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/subjects/schema.py:65 in public nested class `Meta`:
D106: Missing docstring in public nested class
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|