Skip to content

Fix: i18n: added gettext to places where it was missing #560

Fix: i18n: added gettext to places where it was missing

Fix: i18n: added gettext to places where it was missing #560

Triggered via pull request October 29, 2024 12:19
Status Failure
Total duration 2m 26s
Artifacts

tests.yml

on: pull_request
Matrix: Tests / Tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Tests / Tests (3.9, postgresql14, opensearch2): tests/test_admin.py#L50
test_admin TypeError: index_view() got an unexpected keyword argument 'cls'
Tests / Tests (3.9, postgresql14, opensearch2): tests/test_contrib_keycloak.py#L436
test_raise_on_invalid_app_name sqlalchemy.orm.exc.DetachedInstanceError: Instance <User at 0x7fc7b2621a60> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/14/bhk3)
Tests / Tests (3.9, postgresql14, opensearch2): tests/test_handlers_ui.py#L118
test_groups_handler KeyError: 'email'
Tests / Tests (3.9, postgresql14, opensearch2): tests/test_handlers_ui.py#L160
test_unauthorized_signup KeyError: 'email'
Tests / Tests (3.9, postgresql14, opensearch2): invenio_oauthclient/admin.py#L1
isort-check from flask_admin.contrib.sqla import ModelView from invenio_accounts.admin import user_identity_adminview from invenio_i18n import lazy_gettext as _ + from .models import RemoteAccount, RemoteToken
Tests / Tests (3.9, postgresql14, opensearch2): invenio_oauthclient/contrib/cern.py#L1
isort-check identity_loaded, ) from invenio_db import db -from invenio_i18n import gettext as _, lazy_gettext +from invenio_i18n import gettext as _ +from invenio_i18n import lazy_gettext from invenio_oauthclient.errors import OAuthCERNRejectedAccountError from invenio_oauthclient.handlers.rest import response_handler
Tests / Tests (3.9, postgresql14, opensearch2): invenio_oauthclient/contrib/cern_openid.py#L1
isort-check identity_loaded, ) from invenio_db import db -from invenio_i18n import gettext as _, lazy_gettext +from invenio_i18n import gettext as _ +from invenio_i18n import lazy_gettext from jwt import decode from invenio_oauthclient.errors import OAuthCERNRejectedAccountError
Tests / Tests (3.9, postgresql14, opensearch2): invenio_oauthclient/contrib/github.py#L1
isort-check from flask import current_app, redirect, url_for from flask_login import current_user from invenio_db import db - from invenio_i18n import lazy_gettext as _ + from invenio_oauthclient import current_oauthclient from invenio_oauthclient.contrib.settings import OAuthSettingsHelper from invenio_oauthclient.errors import OAuthResponseError
Tests / Tests (3.9, postgresql14, opensearch2): invenio_oauthclient/contrib/globus.py#L1
isort-check from flask import current_app, redirect, url_for from flask_login import current_user from invenio_db import db - from invenio_i18n import lazy_gettext as _ + from invenio_oauthclient import current_oauthclient from invenio_oauthclient.contrib.settings import OAuthSettingsHelper from invenio_oauthclient.errors import OAuthResponseError
Tests / Tests (3.9, postgresql14, opensearch2): invenio_oauthclient/contrib/openaire_aai.py#L1
isort-check from flask import current_app, redirect, url_for from flask_login import current_user from invenio_db import db - from invenio_i18n import lazy_gettext as _ + from invenio_oauthclient import current_oauthclient from invenio_oauthclient.contrib.keycloak import KeycloakSettingsHelper from invenio_oauthclient.contrib.settings import OAuthSettingsHelper
Tests / Tests (3.12, postgresql14, opensearch2): tests/test_admin.py#L50
test_admin TypeError: BaseModelView.index_view() got an unexpected keyword argument 'cls'
Tests / Tests (3.12, postgresql14, opensearch2): tests/test_contrib_keycloak.py#L436
test_raise_on_invalid_app_name sqlalchemy.orm.exc.DetachedInstanceError: Instance <User at 0x7fee3617fd70> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/14/bhk3)
Tests / Tests (3.12, postgresql14, opensearch2): tests/test_handlers_ui.py#L118
test_groups_handler KeyError: 'email'
Tests / Tests (3.12, postgresql14, opensearch2): tests/test_handlers_ui.py#L160
test_unauthorized_signup KeyError: 'email'
Tests / Tests (3.12, postgresql14, opensearch2): invenio_oauthclient/admin.py#L1
isort-check from flask_admin.contrib.sqla import ModelView from invenio_accounts.admin import user_identity_adminview from invenio_i18n import lazy_gettext as _ + from .models import RemoteAccount, RemoteToken
Tests / Tests (3.12, postgresql14, opensearch2): invenio_oauthclient/contrib/cern.py#L1
isort-check identity_loaded, ) from invenio_db import db -from invenio_i18n import gettext as _, lazy_gettext +from invenio_i18n import gettext as _ +from invenio_i18n import lazy_gettext from invenio_oauthclient.errors import OAuthCERNRejectedAccountError from invenio_oauthclient.handlers.rest import response_handler
Tests / Tests (3.12, postgresql14, opensearch2): invenio_oauthclient/contrib/cern_openid.py#L1
isort-check identity_loaded, ) from invenio_db import db -from invenio_i18n import gettext as _, lazy_gettext +from invenio_i18n import gettext as _ +from invenio_i18n import lazy_gettext from jwt import decode from invenio_oauthclient.errors import OAuthCERNRejectedAccountError
Tests / Tests (3.12, postgresql14, opensearch2): invenio_oauthclient/contrib/github.py#L1
isort-check from flask import current_app, redirect, url_for from flask_login import current_user from invenio_db import db - from invenio_i18n import lazy_gettext as _ + from invenio_oauthclient import current_oauthclient from invenio_oauthclient.contrib.settings import OAuthSettingsHelper from invenio_oauthclient.errors import OAuthResponseError
Tests / Tests (3.12, postgresql14, opensearch2): invenio_oauthclient/contrib/globus.py#L1
isort-check from flask import current_app, redirect, url_for from flask_login import current_user from invenio_db import db - from invenio_i18n import lazy_gettext as _ + from invenio_oauthclient import current_oauthclient from invenio_oauthclient.contrib.settings import OAuthSettingsHelper from invenio_oauthclient.errors import OAuthResponseError
Tests / Tests (3.12, postgresql14, opensearch2): invenio_oauthclient/contrib/openaire_aai.py#L1
isort-check from flask import current_app, redirect, url_for from flask_login import current_user from invenio_db import db - from invenio_i18n import lazy_gettext as _ + from invenio_oauthclient import current_oauthclient from invenio_oauthclient.contrib.keycloak import KeycloakSettingsHelper from invenio_oauthclient.contrib.settings import OAuthSettingsHelper