2010-04-09 19:07:17 +08:00
|
|
|
from django.contrib.auth.tests.auth_backends import BackendTest, RowlevelBackendTest, AnonymousUserBackendTest, NoAnonymousUserBackendTest
|
2008-08-01 04:47:53 +08:00
|
|
|
from django.contrib.auth.tests.basic import BASIC_TESTS
|
2010-04-09 19:07:17 +08:00
|
|
|
from django.contrib.auth.tests.decorators import LoginRequiredTestCase
|
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
|
2010-02-23 13:52:37 +08:00
|
|
|
from django.contrib.auth.tests.models import ProfileTestCase
|
2010-04-09 19:07:17 +08:00
|
|
|
from django.contrib.auth.tests.tokens import TOKEN_GENERATOR_TESTS
|
|
|
|
from django.contrib.auth.tests.views \
|
|
|
|
import PasswordResetTest, ChangePasswordTest, LoginTest, LogoutTest
|
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,
|
|
|
|
'FORM_TESTS': FORM_TESTS,
|
2008-08-24 02:20:49 +08:00
|
|
|
'TOKEN_GENERATOR_TESTS': TOKEN_GENERATOR_TESTS,
|
2008-07-19 07:54:34 +08:00
|
|
|
}
|