MCPcopy
hub / github.com/django/django / setup

Method setup

tests/generic_views/test_base.py:275–276  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

273 def test_not_calling_parent_setup_error(self):
274 class TestView(View):
275 def setup(self, request, *args, **kwargs):
276 pass # Not calling super().setup()
277
278 msg = (
279 "TestView instance has no 'request' attribute. Did you override "

Callers 4

setup_collect_testsFunction · 0.45
run_setupMethod · 0.45
setupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected