diff options
| author | Natalia <124304+nessita@users.noreply.github.com> | 2023-11-08 08:50:55 -0300 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2023-11-08 08:50:55 -0300 |
| commit | 5f2f12f61c8e9bc0323efea391ee56e721ce14c6 (patch) | |
| tree | 9b5f19489847af88fafbc1af4348024ed2b00338 /tests/view_tests | |
| parent | 535f7b5c6cea54a0796d85bbe213183d50002689 (diff) | |
Reverted "Fixed #34830 -- Added request to csrf_failure view's template context."
This reverts commit 535f7b5c6cea54a0796d85bbe213183d50002689.
Diffstat (limited to 'tests/view_tests')
| -rw-r--r-- | tests/view_tests/tests/test_csrf.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/view_tests/tests/test_csrf.py b/tests/view_tests/tests/test_csrf.py index d85c1b69dd..ef4a50dd45 100644 --- a/tests/view_tests/tests/test_csrf.py +++ b/tests/view_tests/tests/test_csrf.py @@ -131,7 +131,3 @@ class CsrfViewTests(SimpleTestCase): with mock.patch.object(Path, "open") as m: csrf_failure(mock.MagicMock(), mock.Mock()) m.assert_called_once_with(encoding="utf-8") - - def test_csrf_response_has_request_context_processor(self): - response = self.client.post("/") - self.assertIs(response.wsgi_request, response.context.get("request")) |
