(self)
| 2831 | self.assertEqual(response.code, 200) |
| 2832 | |
| 2833 | def test_xsrf_success_header(self): |
| 2834 | response = self.fetch( |
| 2835 | "/", |
| 2836 | method="POST", |
| 2837 | body=b"", |
| 2838 | headers=dict( |
| 2839 | {"X-Xsrftoken": self.xsrf_token}, # type: ignore |
| 2840 | **self.cookie_headers() |
| 2841 | ), |
| 2842 | ) |
| 2843 | self.assertEqual(response.code, 200) |
| 2844 | |
| 2845 | def test_distinct_tokens(self): |
| 2846 | # Every request gets a distinct token. |
nothing calls this directly
no test coverage detected