You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/06/06 19:16:56 UTC

[2/3] git commit: [#7409] ticket:595 Add new options to test config and fix tests

[#7409] ticket:595 Add new options to test config and fix tests


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/753a4966
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/753a4966
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/753a4966

Branch: refs/heads/master
Commit: 753a496670a8cbbb687c1acb41471288f85fa91a
Parents: 483a547
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu May 29 12:10:47 2014 +0300
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri Jun 6 16:59:41 2014 +0000

----------------------------------------------------------------------
 Allura/allura/tests/functional/test_auth.py | 2 +-
 Allura/test.ini                             | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/753a4966/Allura/allura/tests/functional/test_auth.py
----------------------------------------------------------------------
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 @@ class TestAuth(TestController):
         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(

http://git-wip-us.apache.org/repos/asf/allura/blob/753a4966/Allura/test.ini
----------------------------------------------------------------------
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 @@ markdown_render_max_length = 40000
 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