django1/django/contrib/auth/tests
Luke Plant 02fc6276d7 Fixed #14508 - test suite silences warnings.
Utility functions get_warnings_state and save_warnings_state have been added
to django.test.utils, and methods to django.test.TestCase for convenience.

The implementation is based on the catch_warnings context manager from
Python 2.6.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11 15:06:20 +00:00
..
templates/registration #14374 -- Added some missing template files to ensure that contrib.auth tests will pass when admin isn't installed. Thanks to henriquebastos for the report and patch. 2010-10-08 13:50:54 +00:00
__init__.py Converted contrib/auth/tokens doctests to unittests. We've always said "no more" to doctests. 2010-10-10 01:06:42 +00:00
auth_backends.py Fixed #14508 - test suite silences warnings. 2010-11-11 15:06:20 +00:00
basic.py Fixed #14354 -- Normalized the handling of empty/null passwords in contrib.auth. This also updates the createsuperuser command to be more testable, and migrates some auth doctests. Thanks to berryp for the report, and Laurent Luce for the patch. 2010-10-09 03:34:08 +00:00
decorators.py Fixed #14447 -- Modified the auth and sitemaps tests to remove some assumptions about the environment in which the tests are run. Thanks to Gabriel Hurley for the report and patch. 2010-10-12 07:15:47 +00:00
forms.py Fixed #14242 - UserChangeForm subclasses without 'user_permissions' field causes KeyError 2010-09-09 23:31:54 +00:00
models.py Fixed #12776 -- `User.get_profile` now raises `SiteProfileNotAvailable` instead of `AttributeError` in certain circumstances. Thanks, Bruno Renié. 2010-02-23 05:52:37 +00:00
remote_user.py Fixed #6552, #12031 - Make django.core.context_processors.auth lazy to avoid "Vary: Cookie" 2009-10-14 18:09:13 +00:00
tokens.py Fixed #14445 - Use HMAC and constant-time comparison functions where needed. 2010-10-14 20:54:30 +00:00
urls.py Fixed a test setup and isolation bug that was causing PasswordResetTest to fail when run individually 2010-11-04 12:31:57 +00:00
views.py Fixed #14612 - Password reset page leaks valid user ids publicly. 2010-11-04 12:36:55 +00:00