diff options
| author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2021-08-02 14:38:04 -0400 |
|---|---|---|
| committer | Carlton Gibson <carlton@noumenal.es> | 2021-08-17 12:23:54 +0200 |
| commit | 7aba820aca98a3db77d405b616c9a2d39562f076 (patch) | |
| tree | 0eae519b5f5ce8d53a5723b5203a13cbb6afd91d /tests/admin_scripts/complex_app/admin | |
| parent | f10553ec93b853029f3b3c6fe215648f48bd1223 (diff) | |
Refs #32800 -- Improved CsrfViewMiddlewareTestMixin._check_token_present().
This changes CsrfViewMiddlewareTestMixin._check_token_present() to give more
detailed information if the check fails, and in particular why it failed. It
also moves CsrfFunctionTests.assertMaskedSecretCorrect() to a separate
CsrfFunctionTestMixin so the helper can be used in CsrfViewMiddlewareTestMixin.
Diffstat (limited to 'tests/admin_scripts/complex_app/admin')
0 files changed, 0 insertions, 0 deletions
