2008-08-01 04:47:53 +08:00
|
|
|
from django.contrib.auth.tests.basic import BASIC_TESTS
|
2009-03-15 13:54:28 +08:00
|
|
|
from django.contrib.auth.tests.views \
|
2009-04-02 01:02:32 +08:00
|
|
|
import PasswordResetTest, ChangePasswordTest, LoginTest, LogoutTest
|
2008-07-19 07:54:34 +08:00
|
|
|
from django.contrib.auth.tests.forms import FORM_TESTS
|
2009-03-15 13:54:28 +08:00
|
|
|
from django.contrib.auth.tests.remote_user \
|
|
|
|
import RemoteUserTest, RemoteUserNoCreateTest, RemoteUserCustomTest
|
2008-08-01 04:47:53 +08:00
|
|
|
from django.contrib.auth.tests.tokens import TOKEN_GENERATOR_TESTS
|
2008-07-19 07:54:34 +08:00
|
|
|
|
2008-08-24 02:20:49 +08:00
|
|
|
# The password for the fixture data users is 'password'
|
|
|
|
|
2008-07-19 07:54:34 +08:00
|
|
|
__test__ = {
|
|
|
|
'BASIC_TESTS': BASIC_TESTS,
|
|
|
|
'PASSWORDRESET_TESTS': PasswordResetTest,
|
|
|
|
'FORM_TESTS': FORM_TESTS,
|
2008-08-24 02:20:49 +08:00
|
|
|
'TOKEN_GENERATOR_TESTS': TOKEN_GENERATOR_TESTS,
|
|
|
|
'CHANGEPASSWORD_TESTS': ChangePasswordTest,
|
2009-04-02 00:37:48 +08:00
|
|
|
'LOGIN_TESTS': LoginTest,
|
2009-04-02 01:02:32 +08:00
|
|
|
'LOGOUT_TESTS': LogoutTest,
|
2008-07-19 07:54:34 +08:00
|
|
|
}
|