Fixed unit test.

This commit is contained in:
Antoine Nguyen
2018-01-12 18:59:19 +01:00
parent 213a363716
commit 32c1fdee0e
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -64,7 +64,8 @@ class AdminParametersForm(param_forms.AdminParametersForm):
"Absolute path of the directory where DKIM private keys will "
"be stored. Make sure this directory belongs to root user "
"and is not readable by the outside world."
)
),
required=False
)
dkim_default_key_length = forms.ChoiceField(
+2
View File
@@ -159,6 +159,8 @@ class SettingsTestCase(ModoTestCase):
"admin-domains_must_have_authorized_mx": False,
"core-random_password_length": "8",
"admin-create_alias_on_mbox_rename": False,
"admin-dkim_keys_storage_dir": "",
"admin-dkim_default_key_length": 1024
}
def test_get_settings(self):