changeset 5739:1b4b3f510f9b

Rename hash name from ARP1 to APR1
author pavel_vinogradov
date Tue, 30 Nov 2010 21:37:54 +0300
parents 02798509e918
children 51240cc99af5
files MoinMoin/_tests/test_user.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_user.py	Tue Nov 30 21:23:27 2010 +0300
+++ b/MoinMoin/_tests/test_user.py	Tue Nov 30 21:37:54 2010 +0300
@@ -147,14 +147,14 @@
         theuser = user.User(self.request, name=name, password='12345')        
         assert theuser.enc_password[:6] == '{SSHA}'
 
-    def test_upgrade_password_from_arp1_to_ssha(self):
+    def test_upgrade_password_from_apr1_to_ssha(self):
         """
-        Create user with {ARP1} password and check that logging in
+        Create user with {APR1} password and check that logging in
         upgrades to {SSHA}.
         """
         # Create test user
         name = u'Test User'
-        password = '{ARP1}$apr1$salt$kKtoJ6r.fd87EWbzq2TiF0' # 12345
+        password = '{APR1}$apr1$salt$kKtoJ6r.fd87EWbzq2TiF0' # 12345
         self.createUser(name, password, True)
         
         #User don't require to be valid