Check the never-cache status of a model history page
(self)
| 6174 | self.assertEqual(get_max_age(response), 0) |
| 6175 | |
| 6176 | def test_model_history(self): |
| 6177 | "Check the never-cache status of a model history page" |
| 6178 | response = self.client.get( |
| 6179 | reverse("admin:admin_views_section_history", args=(self.s1.pk,)) |
| 6180 | ) |
| 6181 | self.assertEqual(get_max_age(response), 0) |
| 6182 | |
| 6183 | def test_model_delete(self): |
| 6184 | "Check the never-cache status of a model delete page" |
nothing calls this directly
no test coverage detected