(self)
| 326 | self.assertEqual(response.status_code, 200) |
| 327 | |
| 328 | def test_add_with_GET_args(self): |
| 329 | response = self.client.get( |
| 330 | reverse("admin:admin_views_section_add"), {"name": "My Section"} |
| 331 | ) |
| 332 | self.assertContains( |
| 333 | response, |
| 334 | 'value="My Section"', |
| 335 | msg_prefix="Couldn't find an input with the right value in the response", |
| 336 | ) |
| 337 | |
| 338 | def test_add_query_string_persists(self): |
| 339 | save_options = [ |
nothing calls this directly
no test coverage detected