|
|
f9cd719 |
--- acct_mgr/tests/register.py
|
|
|
f9cd719 |
+++ acct_mgr/tests/register.py
|
|
|
f9cd719 |
@@ -100,6 +100,7 @@ class BasicCheckTestCase(_BaseTestCase):
|
|
|
f9cd719 |
_BaseTestCase.setUp(self)
|
|
|
f9cd719 |
self.env = EnvironmentStub(
|
|
|
f9cd719 |
enable=['trac.*', 'acct_mgr.admin.*',
|
|
|
f9cd719 |
+ 'acct_mgr.db.sessionstore',
|
|
|
f9cd719 |
'acct_mgr.pwhash.HtDigestHashMethod'])
|
|
|
f9cd719 |
self.env.path = tempfile.mkdtemp()
|
|
|
f9cd719 |
self.env.config.set('account-manager', 'password_store',
|
|
|
f9cd719 |
@@ -200,7 +201,8 @@ class EmailCheckTestCase(_BaseTestCase):
|
|
|
f9cd719 |
def test_verify_conf_changes(self):
|
|
|
f9cd719 |
"""Registration challenges with EmailVerificationModule enabled."""
|
|
|
f9cd719 |
self.env = EnvironmentStub(
|
|
|
f9cd719 |
- enable=['trac.*', 'acct_mgr.admin.*', 'acct_mgr.register.*'])
|
|
|
f9cd719 |
+ enable=['trac.*', 'acct_mgr.admin.*', 'acct_mgr.register.*',
|
|
|
f9cd719 |
+ 'acct_mgr.pwhash.HtDigestHashMethod'])
|
|
|
f9cd719 |
self.env.path = tempfile.mkdtemp()
|
|
|
f9cd719 |
set_user_attribute(self.env, 'admin', 'email', 'admin@foo.bar')
|
|
|
f9cd719 |
|