MCPcopy
hub / github.com/django/django / test_password_change_done

Method test_password_change_done

tests/admin_views/tests.py:6207–6210  ·  view source on GitHub ↗

Check the never-cache status of the password change done view

(self)

Source from the content-addressed store, hash-verified

6205 self.assertIsNone(get_max_age(response))
6206
6207 def test_password_change_done(self):
6208 "Check the never-cache status of the password change done view"
6209 response = self.client.get(reverse("admin:password_change_done"))
6210 self.assertIsNone(get_max_age(response))
6211
6212 def test_JS_i18n(self):
6213 "Check the never-cache status of the JavaScript i18n view"

Callers

nothing calls this directly

Calls 3

reverseFunction · 0.90
get_max_ageFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected