app/django/contrib/auth/tests/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 14 Feb 2009 14:10:56 +0000
changeset 1309 ba51a0cd311d
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Fix a bug if you have no roles at all This could not happen currently, but might happen later on if a group is defined that does not have an 'anybody' membership. Patch by: Sverre Rabbelier

from django.contrib.auth.tests.basic import BASIC_TESTS
from django.contrib.auth.tests.views import PasswordResetTest, ChangePasswordTest
from django.contrib.auth.tests.forms import FORM_TESTS
from django.contrib.auth.tests.tokens import TOKEN_GENERATOR_TESTS

# The password for the fixture data users is 'password'

__test__ = {
    'BASIC_TESTS': BASIC_TESTS,
    'PASSWORDRESET_TESTS': PasswordResetTest,
    'FORM_TESTS': FORM_TESTS,
    'TOKEN_GENERATOR_TESTS': TOKEN_GENERATOR_TESTS,
    'CHANGEPASSWORD_TESTS': ChangePasswordTest,
}