[#7409] ticket:595 Add new options to test config and fix tests
diff --git a/Allura/allura/tests/functional/test_auth.py b/Allura/allura/tests/functional/test_auth.py
index f35f5f1..73641e4 100644
--- a/Allura/allura/tests/functional/test_auth.py
+++ b/Allura/allura/tests/functional/test_auth.py
@@ -201,7 +201,7 @@
assert 'Create an Account' in r
r = self.app.post('/auth/save_new',
params=dict(username='aaa', pw='123'))
- assert 'Enter a value 8 characters long or more' in r
+ assert 'Enter a value 6 characters long or more' in r
r = self.app.post(
'/auth/save_new',
params=dict(
diff --git a/Allura/test.ini b/Allura/test.ini
index 8d0f849..af51f3f 100644
--- a/Allura/test.ini
+++ b/Allura/test.ini
@@ -134,6 +134,9 @@
user_message.time_interval = 3600
user_message.max_messages = 200
+auth.min_password_len = 6
+auth.max_password_len = 30
+
# LDAP auth provider
auth.ldap.server = ldaps://localhost/
auth.ldap.suffix = ou=users,dc=sf,dc=net