Changeset 2118

Show
Ignore:
Timestamp:
03/24/07 15:21:50 (1 year ago)
Author:
mgood
Message:

AccountManagerPlugin:

the test_userline is no longer valid as the plugin no longer always generates MD5 hashes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • accountmanagerplugin/trunk/acct_mgr/tests/htfile.py

    r1128 r2118  
    6060        self.env.config.set('account-manager', 'password_store', 
    6161                            'HtPasswdStore') 
    62         import acct_mgr.htfile 
    63         # dummy salt implementation so hashes are reproducible 
    64         acct_mgr.htfile.salt = lambda: 'SALT...' 
    65  
    66     def test_userline(self): 
    67         store = HtPasswdStore(self.env) 
    68         self.assertEqual(store.userline('user', 'password'), 
    69                          'user:$apr1$SALT...$8NnXxBFveBqbF9CN0F6SH/') 
    7062 
    7163    def test_md5(self):