Changeset 2119
- Timestamp:
- 03/24/07 16:36:04 (2 years ago)
- Files:
-
- accountmanagerplugin/0.10/acct_mgr/tests/htfile.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
accountmanagerplugin/0.10/acct_mgr/tests/htfile.py
r1128 r2119 60 60 self.env.config.set('account-manager', 'password_store', 61 61 'HtPasswdStore') 62 import acct_mgr.htfile63 # dummy salt implementation so hashes are reproducible64 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/')70 62 71 63 def test_md5(self):
