Integrate subjects in awards datastream #1553
Triggered via pull request
September 30, 2024 11:23
Status
Failure
Total duration
5m 42s
Artifacts
–
Annotations
6 errors
Python / Tests (3.9, postgresql14, opensearch2):
tests/contrib/subjects/euroscivoc/test_subjects_euroscivoc_datastream.py#L173
test_euroscivoc_subjects_transformer_pref_label
AssertionError: assert [{'id': 'euro...SciVoc', ...}] == [{'id': 'euro...SciVoc', ...}]
At index 0 diff: {'id': 'euroscivoc:1717', 'scheme': 'EuroSciVoc', 'subject': 'Satellite radio', 'title': {'it': 'radio satellitare', 'pl': 'radio satelitarne', 'fr': 'radio satellite', 'es': 'radio por satélite', 'de': 'Satellitenfunk', 'en': 'satellite radio'}, 'props': {'parents': 'euroscivoc:1225'}, 'identifiers': [{'scheme': 'url', 'identifier': 'http://data.europa.eu/8mn/euroscivoc/87ff3577-527a-4a40-9c76-2f9d3075e2ba'}]} != {'id': 'euroscivoc:1717', 'scheme': 'EuroSciVoc', 'subject': 'Satellite radio', 'title': {'it': 'Radio satellitare', 'pl': 'Radio satelitarne', 'fr': 'Radio satellite', 'es': 'Radio por satélite', 'de': 'Satellitenfunk', 'en': 'Satellite radio'}, 'props': {'parents': 'euroscivoc:1225'}, 'identifiers': [{'scheme': 'url', 'identifier': 'http://data.europa.eu/8mn/euroscivoc/87ff3577-527a-4a40-9c76-2f9d3075e2ba'}]}
Full diff:
[
{'id': 'euroscivoc:1717',
'identifiers': [{'identifier': 'http://data.europa.eu/8mn/euroscivoc/87ff3577-527a-4a40-9c76-2f9d3075e2ba',
'scheme': 'url'}],
'props': {'parents': 'euroscivoc:1225'},
'scheme': 'EuroSciVoc',
'subject': 'Satellite radio',
'title': {'de': 'Satellitenfunk',
- 'en': 'Satellite radio',
? ^
+ 'en': 'satellite radio',
? ^
- 'es': 'Radio por satélite',
? ^
+ 'es': 'radio por satélite',
? ^
- 'fr': 'Radio satellite',
? ^
+ 'fr': 'radio satellite',
? ^
- 'it': 'Radio satellitare',
? ^
+ 'it': 'radio satellitare',
? ^
- 'pl': 'Radio satelitarne'}},
? ^
+ 'pl': 'radio satelitarne'}},
? ^
{'id': 'euroscivoc:1225',
'identifiers': [{'identifier': 'http://data.europa.eu/8mn/euroscivoc/d913bd42-e79c-46a7-8714-14f2a6a0d82f',
'scheme': 'url'}],
'props': {},
'scheme': 'EuroSciVoc',
'subject': 'Radio channel',
- 'title': {'en': 'Radio channel'}},
? ^
+ 'title': {'en': 'radio channel'}},
? ^
]
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/contrib/subjects/euroscivoc/test_subjects_euroscivoc_datastream.py#L188
test_euroscivoc_subjects_transformer_alt_label
AssertionError: assert {'id': 'euros...oSciVoc', ...} == {'id': 'euros...oSciVoc', ...}
Omitting 5 identical items, use -vv to show
Differing items:
{'title': {'en': 'broadcastingsatellite service'}} != {'title': {'en': 'Broadcastingsatellite service'}}
Full diff:
{
'id': 'euroscivoc:1717',
'identifiers': [{'identifier': 'http://data.europa.eu/8mn/euroscivoc/87ff3577-527a-4a40-9c76-2f9d3075e2ba',
'scheme': 'url'}],
'props': {},
'scheme': 'EuroSciVoc',
'subject': 'Broadcastingsatellite service',
- 'title': {'en': 'Broadcastingsatellite service'},
? ^
+ 'title': {'en': 'broadcastingsatellite service'},
? ^
}
|
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/contrib/subjects/euroscivoc/test_subjects_euroscivoc_datastream.py#L173
test_euroscivoc_subjects_transformer_pref_label
AssertionError: assert [{'id': 'euro...SciVoc', ...}] == [{'id': 'euro...SciVoc', ...}]
At index 0 diff: {'id': 'euroscivoc:1717', 'scheme': 'EuroSciVoc', 'subject': 'Satellite radio', 'title': {'it': 'radio satellitare', 'pl': 'radio satelitarne', 'fr': 'radio satellite', 'es': 'radio por satélite', 'de': 'Satellitenfunk', 'en': 'satellite radio'}, 'props': {'parents': 'euroscivoc:1225'}, 'identifiers': [{'scheme': 'url', 'identifier': 'http://data.europa.eu/8mn/euroscivoc/87ff3577-527a-4a40-9c76-2f9d3075e2ba'}]} != {'id': 'euroscivoc:1717', 'scheme': 'EuroSciVoc', 'subject': 'Satellite radio', 'title': {'it': 'Radio satellitare', 'pl': 'Radio satelitarne', 'fr': 'Radio satellite', 'es': 'Radio por satélite', 'de': 'Satellitenfunk', 'en': 'Satellite radio'}, 'props': {'parents': 'euroscivoc:1225'}, 'identifiers': [{'scheme': 'url', 'identifier': 'http://data.europa.eu/8mn/euroscivoc/87ff3577-527a-4a40-9c76-2f9d3075e2ba'}]}
Full diff:
[
{'id': 'euroscivoc:1717',
'identifiers': [{'identifier': 'http://data.europa.eu/8mn/euroscivoc/87ff3577-527a-4a40-9c76-2f9d3075e2ba',
'scheme': 'url'}],
'props': {'parents': 'euroscivoc:1225'},
'scheme': 'EuroSciVoc',
'subject': 'Satellite radio',
'title': {'de': 'Satellitenfunk',
- 'en': 'Satellite radio',
? ^
+ 'en': 'satellite radio',
? ^
- 'es': 'Radio por satélite',
? ^
+ 'es': 'radio por satélite',
? ^
- 'fr': 'Radio satellite',
? ^
+ 'fr': 'radio satellite',
? ^
- 'it': 'Radio satellitare',
? ^
+ 'it': 'radio satellitare',
? ^
- 'pl': 'Radio satelitarne'}},
? ^
+ 'pl': 'radio satelitarne'}},
? ^
{'id': 'euroscivoc:1225',
'identifiers': [{'identifier': 'http://data.europa.eu/8mn/euroscivoc/d913bd42-e79c-46a7-8714-14f2a6a0d82f',
'scheme': 'url'}],
'props': {},
'scheme': 'EuroSciVoc',
'subject': 'Radio channel',
- 'title': {'en': 'Radio channel'}},
? ^
+ 'title': {'en': 'radio channel'}},
? ^
]
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/contrib/subjects/euroscivoc/test_subjects_euroscivoc_datastream.py#L188
test_euroscivoc_subjects_transformer_alt_label
AssertionError: assert {'id': 'euros...oSciVoc', ...} == {'id': 'euros...oSciVoc', ...}
Omitting 5 identical items, use -vv to show
Differing items:
{'title': {'en': 'broadcastingsatellite service'}} != {'title': {'en': 'Broadcastingsatellite service'}}
Full diff:
{
'id': 'euroscivoc:1717',
'identifiers': [{'identifier': 'http://data.europa.eu/8mn/euroscivoc/87ff3577-527a-4a40-9c76-2f9d3075e2ba',
'scheme': 'url'}],
'props': {},
'scheme': 'EuroSciVoc',
'subject': 'Broadcastingsatellite service',
- 'title': {'en': 'Broadcastingsatellite service'},
? ^
+ 'title': {'en': 'broadcastingsatellite service'},
? ^
}
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|