Fixed tests

This commit is contained in:
Spitap
2023-02-26 19:18:25 +01:00
parent 2aea37db22
commit 1f6ac324fd
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -469,7 +469,7 @@ class GeneralParametersForm(param_forms.AdminParametersForm):
initial=30,
help_text=_(
"An account with a last login date greater than this threshold "
"(in days) will be considered as inactive."
"(in days) will be considered as inactive"
),
)
@@ -1092,7 +1092,7 @@ GLOBAL_PARAMETERS_STRUCT = collections.OrderedDict([
"display": "enable_inactive_accounts=true",
"help_text": ugettext_lazy(
"An account with a last login date greater than this "
"threshold (in days) will be considered as inactive. "
"threshold (in days) will be considered as inactive"
)
}),
("top_notifications_check_interval", {
+1
View File
@@ -60,6 +60,7 @@ SETTINGS_SAMPLE = {
"core-default_password": "Toto1000",
"limits-deflt_user_quota_limit": "0",
"core-hide_features_widget": "False",
"core-enable_inactive_accounts": "True",
"core-inactive_account_threshold": "30",
"admin-domains_must_have_authorized_mx": False,
"core-random_password_length": "8",
@@ -37,4 +37,4 @@ class Command(BaseCommand):
elif options.get("imap"):
lib.import_from_imap(options)
else:
print("Nothing to do.")
print("Nothing to do.", file=self.stdout)