django/tests/csrf_tests
Chris Jerdonek be1fd6645d Refs #32800 -- Added test_masked_secret_accepted_and_not_replaced().
This improves test_bare_secret_accepted_and_replaced() by adding a stronger
assertion. It also adds a parallel test for the non-bare (masked) case.
2021-08-17 12:23:54 +02:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
csrf_token_error_handler_urls.py Fixed #28488 -- Reallowed error handlers to access CSRF tokens. 2017-09-20 16:22:18 -04:00
test_context_processor.py Refs #32800 -- Renamed _compare_masked_tokens() to _does_token_match(). 2021-08-03 07:10:31 +02:00
tests.py Refs #32800 -- Added test_masked_secret_accepted_and_not_replaced(). 2021-08-17 12:23:54 +02:00
views.py Refs #32902 -- Moved ensure_csrf_cookie_view after protected_view. 2021-07-23 07:09:36 +02:00