Check the never-cache status of login views
(self)
| 6188 | self.assertEqual(get_max_age(response), 0) |
| 6189 | |
| 6190 | def test_login(self): |
| 6191 | "Check the never-cache status of login views" |
| 6192 | self.client.logout() |
| 6193 | response = self.client.get(reverse("admin:index")) |
| 6194 | self.assertEqual(get_max_age(response), 0) |
| 6195 | |
| 6196 | def test_logout(self): |
| 6197 | "Check the never-cache status of logout view" |
nothing calls this directly
no test coverage detected