diff options
| author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2021-05-31 11:44:07 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-05-31 21:12:17 +0200 |
| commit | ffdee8d2645227748ae4061f21fc48cca4d75c22 (patch) | |
| tree | f57c6b570ee514eba5770350e8e4c4b465cb1d52 /tests/template_tests/test_engine.py | |
| parent | 91e21836f667c784a8a63ab1f18d81f553e679cb (diff) | |
Refs #32795 -- Added CsrfViewMiddleware tests for rejecting invalid or missing tokens.
This also improves test names for test_process_request_no_csrf_cookie
and test_process_request_csrf_cookie_no_token. The logic being tested
is actually in process_view() rather than process_request(), and it's
not necessary to include the method name.
Diffstat (limited to 'tests/template_tests/test_engine.py')
0 files changed, 0 insertions, 0 deletions
