Initial KeyCloak integration #448
build.yml
on: pull_request
devel_shell
2m 2s
Matrix: test
Annotations
45 errors and 1 warning
test_auth.test_valid_user_mtls:
.mypy_cache/3.11/tests/test_auth.data.json#L24
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_auth.test_valid_user_jwt:
.mypy_cache/3.11/tests/test_auth.data.json#L24
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_auth.test_valid_admin_mtls:
.mypy_cache/3.11/tests/test_auth.data.json#L24
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_auth.test_valid_admin_jwt:
.mypy_cache/3.11/tests/test_auth.data.json#L24
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_cfssl.test_get_crl:
.mypy_cache/3.11/tests/test_cfssl.data.json#L33
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_cfssl.test_crl_der_route[]:
.mypy_cache/3.11/tests/test_cfssl.data.json#L33
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_cfssl.test_crl_der_route[/crl.der]:
.mypy_cache/3.11/tests/test_cfssl.data.json#L33
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_cfssl.test_crl_pem_route:
.mypy_cache/3.11/tests/test_cfssl.data.json#L33
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_db.test_enrollments_crud:
.mypy_cache/3.11/tests/test_db.data.json#L169
TypeError: argument of type 'NoneType' is not iterable
|
test_db.test_person_with_cert_duplicatename:
.mypy_cache/3.11/tests/test_db.data.json#L372
TypeError: argument of type 'NoneType' is not iterable
|
test_db.test_pfx_parse:
.mypy_cache/3.11/tests/test_db.data.json#L389
TypeError: argument of type 'NoneType' is not iterable
|
test_descriptions.test_product_instructons[fi]:
.mypy_cache/3.11/tests/test_descriptions.data.json#L34
failed on setup with "file /home/runner/work/python-rasenmaeher-api/python-rasenmaeher-api/tests/test_descriptions.py, line 34
@pytest.mark.parametrize("lang", ["fi", "en"])
@pytest.mark.asyncio
async def test_product_instructons(user_mtls_client: TestClient, lang: str) -> None:
"""Make sure we get product instructions"""
resp = await user_mtls_client.get(f"/api/v1/instructions/fake/{lang}")
assert resp
payload = resp.json()
LOGGER.debug(payload)
assert payload
assert payload["callsign"]
E fixture 'user_mtls_client' not found
> available fixtures: announce_server, anyio_backend, anyio_backend_name, anyio_backend_options, app_client, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, docker_cleanup, docker_compose_command, docker_compose_file, docker_compose_project_name, docker_ip, docker_services, docker_setup, doctest_namespace, event_loop, issuer_cl, kraftwerk_jwt_client, monkeypatch, monkeysession, mtls_client, nice_tmpdir_mod, nice_tmpdir_ses, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, rm_jwt_client, session_env_config, taskmaster_closer, test_user_secrets, tilauspalvelu_jwt_admin_client, tilauspalvelu_jwt_client, tilauspalvelu_jwt_user_client, tilauspalvelu_jwt_user_koira_client, tilauspalvelu_jwt_without_proper_user_client, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unauth_client, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, verifier
> use 'pytest --fixtures [testpath]' for help on them.
/home/runner/work/python-rasenmaeher-api/python-rasenmaeher-api/tests/test_descriptions.py:34"
|
test_descriptions.test_product_instructons[en]:
.mypy_cache/3.11/tests/test_descriptions.data.json#L34
failed on setup with "file /home/runner/work/python-rasenmaeher-api/python-rasenmaeher-api/tests/test_descriptions.py, line 34
@pytest.mark.parametrize("lang", ["fi", "en"])
@pytest.mark.asyncio
async def test_product_instructons(user_mtls_client: TestClient, lang: str) -> None:
"""Make sure we get product instructions"""
resp = await user_mtls_client.get(f"/api/v1/instructions/fake/{lang}")
assert resp
payload = resp.json()
LOGGER.debug(payload)
assert payload
assert payload["callsign"]
E fixture 'user_mtls_client' not found
> available fixtures: announce_server, anyio_backend, anyio_backend_name, anyio_backend_options, app_client, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, docker_cleanup, docker_compose_command, docker_compose_file, docker_compose_project_name, docker_ip, docker_services, docker_setup, doctest_namespace, event_loop, issuer_cl, kraftwerk_jwt_client, monkeypatch, monkeysession, mtls_client, nice_tmpdir_mod, nice_tmpdir_ses, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, rm_jwt_client, session_env_config, taskmaster_closer, test_user_secrets, tilauspalvelu_jwt_admin_client, tilauspalvelu_jwt_client, tilauspalvelu_jwt_user_client, tilauspalvelu_jwt_user_koira_client, tilauspalvelu_jwt_without_proper_user_client, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unauth_client, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory, verifier
> use 'pytest --fixtures [testpath]' for help on them.
/home/runner/work/python-rasenmaeher-api/python-rasenmaeher-api/tests/test_descriptions.py:34"
|
test_enrollment.test_enroll_verif_code[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_enroll_show_verif_code[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_enroll_show_verifcode_bad_code[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_post_init[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_promote_demote[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_lock[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_accept[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_accept_no_such_user[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_invitecode_create[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_invitecode_dectivate[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_invitecode_activate[tilauspalvelu_jwt_admin_client0]:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_show_verifcode_no_permission:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_have_i_been_accepted_yes:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_have_i_been_accepted_no:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_status_koira:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_status_not_found:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_list_as_adm:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_list_as_usr:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_init_as_usr:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_promote_as_usr:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_lock_as_usr:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_accept_as_usr:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_create_as_usr:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_invite_code:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_enrollment.test_enroll_with_invite_code:
.mypy_cache/3.11/tests/test_enrollment.data.json#L1
failed on setup with "gino.exceptions.UninitializedError: Gino engine is not initialized."
|
test_fixtures.test_check_auth_user:
.mypy_cache/3.11/tests/usersapis/test_fixtures.data.json#L1
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_fragments.test_admin_fragment:
.mypy_cache/3.11/tests/usersapis/test_fragments.data.json#L16
gino.exceptions.UninitializedError: Gino engine is not initialized.
|
test_fragments.test_user_fragment:
.mypy_cache/3.11/tests/usersapis/test_fragments.data.json#L1
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_people.test_admin_people_list:
.mypy_cache/3.11/tests/usersapis/test_people.data.json#L18
gino.exceptions.UninitializedError: Gino engine is not initialized.
|
test_userinfos.test_user_pfx[ENROLLUSERa]:
.mypy_cache/3.11/tests/usersapis/test_userinfos.data.json#L1
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test_userinfos.test_user_pfx[ENROLLUSERa.pfx]:
.mypy_cache/3.11/tests/usersapis/test_userinfos.data.json#L1
failed on setup with "TypeError: argument of type 'NoneType' is not iterable"
|
test (3.11)
Process completed with exit code 1.
|
devel_shell
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|