django/tests/auth_tests
Jon Dufresne 3857a08bdb Fixed #31361 -- Fixed invalid action="" in admin forms.
The attribute action="" (empty string) on the <form> element is invalid
HTML5. The spec (https://html.spec.whatwg.org/#attr-fs-action) says:

> The action and formaction content attributes, if specified, must have
> a value that is a valid non-empty URL potentially surrounded by
> spaces.

Emphasis on non-empty. The action attribute is allowed to be omitted, in
which case the current URL is used which is the same behavior as now.
2020-03-16 07:31:19 +01:00
..
fixtures Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
models Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS. 2019-08-26 14:48:40 +02:00
templates Fixed spelling of "nonexistent". 2017-02-03 08:01:45 -05:00
__init__.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
backend_alias.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
client.py Fixed #28780 -- Allowed specyfing a token parameter displayed in password reset URLs. 2019-05-24 08:40:25 +02:00
common-passwords-custom.txt Fixed #16860 -- Added password validation to django.contrib.auth. 2015-06-07 19:31:20 +02:00
settings.py Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. 2017-01-20 08:01:02 -05:00
test_admin_multidb.py Refs #31117 -- Made various tests properly handle unexpected databases aliases. 2020-01-20 14:39:02 +01:00
test_auth_backends.py Fixed #26480 -- Fixed crash of contrib.auth.authenticate() on decorated authenticate() methods of authentication backends. 2019-12-10 09:36:30 +01:00
test_basic.py Fixed #30066 -- Enabled super user creation without email and password 2019-08-29 12:49:16 +02:00
test_checks.py Fixed #31289 -- Added hint for USERNAME_FIELD/REQUIRED_FIELDS system check. 2020-02-26 08:40:36 +01:00
test_context_processors.py Fixed #28984 -- Made assorted code simplifications. 2018-01-03 13:24:02 -05:00
test_decorators.py Renamed camelCaseTestMethods to snake_case_test_methods 2019-04-14 16:14:14 +02:00
test_forms.py Fixed CVE-2019-19844 -- Used verified user email for password reset requests. 2019-12-18 09:11:39 +01:00
test_handlers.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_hashers.py Replaced assertWarns() with SimpleTestCase.assertWarnsMessage() in tests. 2020-01-30 11:19:50 +01:00
test_management.py Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS. 2019-08-26 14:48:40 +02:00
test_middleware.py Refs #26601 -- Deprecated passing None as get_response arg to middleware classes. 2020-02-18 20:03:44 +01:00
test_migrations.py Fixed #31021 -- Fixed proxy model permissions data migration crash with a multiple databases setup. 2019-11-29 08:23:01 +01:00
test_mixins.py Used assertRaisesMessage() in various tests. 2020-02-07 12:46:23 +01:00
test_models.py Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods. 2019-08-29 19:32:12 +02:00
test_password_reset_timeout_days.py Made token tests in auth_tests use assertIs() rather than assertTrue/False(). 2020-01-29 09:01:18 +01:00
test_remote_user.py Fixed #28699 -- Fixed CSRF validation with remote user middleware. 2020-02-26 17:25:20 +01:00
test_signals.py Fixed #29132 -- Avoided connecting update_last_login() handler if User.last_login isn't a field. 2018-02-21 10:36:31 -05:00
test_templates.py Made reused RequestFactory instances class attributes. 2018-11-27 09:49:02 -05:00
test_tokens.py Fixed random auth_tests.test_tokens.TokenGeneratorTest.test_timeout failures. 2020-03-12 10:56:38 +01:00
test_validators.py Fixed #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
test_views.py Fixed #31361 -- Fixed invalid action="" in admin forms. 2020-03-16 07:31:19 +01:00
urls.py Removed unnecessary token regex in auth_tests URLs. 2020-02-12 10:45:53 +01:00
urls_admin.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
urls_custom_user_admin.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00