Skip to content

fix(tests): forked_install not working for rdm records #187

fix(tests): forked_install not working for rdm records

fix(tests): forked_install not working for rdm records #187

Status Failure
Total duration 5m 48s
Artifacts

push.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
build12 / build: tests/test_communities/test_community_requests.py#L438
test_community_role_ui_serialization AssertionError: assert {'label': 'Ow...mmunity role'} == {'label': 'Ow...mmunity role'} Omitting 3 identical items, use -vv to show Differing items: {'links': {'invitations': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/invitations', '..., 'public_members': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/members/public', ...}} != {'links': {'self': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50', 'self_html': 'https://127.0.0.1:5000/communities/public'}} Full diff: { 'label': 'Owner of My Community', + 'links': {'invitations': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/invitations', + 'logo': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/logo', + 'members': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/members', + 'public_members': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/members/public', + 'records': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/records', + 'rename': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/rename', + 'requests': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50/requests', - 'links': {'self': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50', ? ^^^^^^^^^^ + 'self': 'https://127.0.0.1:5000/api/communities/dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50', ? ^^^^^^^^^^ - 'self_html': 'https://127.0.0.1:5000/communities/public'}, ? - + 'self_html': 'https://127.0.0.1:5000/communities/public', + 'settings_html': 'https://127.0.0.1:5000/communities/public/settings'}, 'reference': {'community_role': 'dd3cd3d7-e5dc-40e2-b039-9ef0956c1a50:owner'}, 'type': 'community role', }
build12 / build: tests/test_communities/test_param_interpreters.py#L41
test_community_role_param_interpreter assert 0 == 2 + where 0 = len([])
build12 / build: tests/test_communities/test_permissions.py#L114
test_scenario_change ValueError: Generator <oarepo_communities.services.permissions.generators.CommunityRole object at 0x7f7c3dd71df0> is not a recipient generator and can not be used in MultipleGeneratorsGenerator.
build12 / build
Process completed with exit code 1.
build12 / build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636