MCPcopy
hub / github.com/django/django / test_basic_edit_GET

Method test_basic_edit_GET

tests/admin_views/tests.py:398–406  ·  view source on GitHub ↗

A smoke test to ensure GET on the change_view works.

(self)

Source from the content-addressed store, hash-verified

396 self.assertEqual(parsed_url.query, qsl)
397
398 def test_basic_edit_GET(self):
399 """
400 A smoke test to ensure GET on the change_view works.
401 """
402 response = self.client.get(
403 reverse("admin:admin_views_section_change", args=(self.s1.pk,))
404 )
405 self.assertIsInstance(response, TemplateResponse)
406 self.assertEqual(response.status_code, 200)
407
408 def test_basic_edit_GET_string_PK(self):
409 """

Callers

nothing calls this directly

Calls 2

reverseFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected