Skip to content

i18n: Mark Missing Strings for Translation #671

i18n: Mark Missing Strings for Translation

i18n: Mark Missing Strings for Translation #671

Triggered via pull request October 23, 2024 18:11
Status Failure
Total duration 3m 1s
Artifacts

tests.yml

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

Annotations

8 errors
Tests / Tests (3.9, postgresql14, opensearch2): tests/test_admin.py#L72
test_admin_createuser AttributeError: 'tuple' object has no attribute 'items'
Tests / Tests (3.9, postgresql14, opensearch2): invenio_accounts/config.py#L1
Black format check --- /home/runner/work/invenio-accounts/invenio-accounts/invenio_accounts/config.py 2024-10-23 18:11:15.378724+00:00 +++ /home/runner/work/invenio-accounts/invenio-accounts/invenio_accounts/config.py 2024-10-23 18:13:47.394738+00:00 @@ -209,11 +209,14 @@ """The error to be displayed in REST registration when it is disabled.""" SECURITY_MSG_PASSWORD_CHANGE_DISABLED = (_t("Password change is disabled."), "error") """The error to be displayed in REST password change when it is disabled.""" -SECURITY_MSG_PASSWORD_RECOVERY_DISABLED = (_t("Password recovery is disabled."), "error") +SECURITY_MSG_PASSWORD_RECOVERY_DISABLED = ( + _t("Password recovery is disabled."), + "error", +) """The error to be displayed in REST password recovery when it is disabled.""" SECURITY_MSG_PASSWORD_RESET_DISABLED = (_t("Password reset is disabled."), "error") """The error to be displayed in REST password reset when it is disabled."""
Tests / Tests (3.9, postgresql14, opensearch2): invenio_accounts/config.py#L1
isort-check from datetime import timedelta +from invenio_i18n import gettext as _t from invenio_i18n import lazy_gettext as _ -from invenio_i18n import gettext as _t from .profiles import UserPreferencesSchema, UserProfileSchema from .views import login
Tests / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.12, postgresql14, opensearch2): tests/test_admin.py#L72
test_admin_createuser AttributeError: 'tuple' object has no attribute 'items'
Tests / Tests (3.12, postgresql14, opensearch2): invenio_accounts/config.py#L1
Black format check --- /home/runner/work/invenio-accounts/invenio-accounts/invenio_accounts/config.py 2024-10-23 18:11:14.889613+00:00 +++ /home/runner/work/invenio-accounts/invenio-accounts/invenio_accounts/config.py 2024-10-23 18:13:47.584849+00:00 @@ -209,11 +209,14 @@ """The error to be displayed in REST registration when it is disabled.""" SECURITY_MSG_PASSWORD_CHANGE_DISABLED = (_t("Password change is disabled."), "error") """The error to be displayed in REST password change when it is disabled.""" -SECURITY_MSG_PASSWORD_RECOVERY_DISABLED = (_t("Password recovery is disabled."), "error") +SECURITY_MSG_PASSWORD_RECOVERY_DISABLED = ( + _t("Password recovery is disabled."), + "error", +) """The error to be displayed in REST password recovery when it is disabled.""" SECURITY_MSG_PASSWORD_RESET_DISABLED = (_t("Password reset is disabled."), "error") """The error to be displayed in REST password reset when it is disabled."""
Tests / Tests (3.12, postgresql14, opensearch2): invenio_accounts/config.py#L1
isort-check from datetime import timedelta +from invenio_i18n import gettext as _t from invenio_i18n import lazy_gettext as _ -from invenio_i18n import gettext as _t from .profiles import UserPreferencesSchema, UserProfileSchema from .views import login
Tests / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.