Fixed typo in tests/generic_views/test_base.py.
This commit is contained in:
parent
8a187bfa3b
commit
b916c27f9a
|
@ -250,7 +250,7 @@ class ViewTest(SimpleTestCase):
|
||||||
def test_not_calling_parent_setup_error(self):
|
def test_not_calling_parent_setup_error(self):
|
||||||
class TestView(View):
|
class TestView(View):
|
||||||
def setup(self, request, *args, **kwargs):
|
def setup(self, request, *args, **kwargs):
|
||||||
pass # Not calling supre().setup()
|
pass # Not calling super().setup()
|
||||||
|
|
||||||
msg = (
|
msg = (
|
||||||
"TestView instance has no 'request' attribute. Did you override "
|
"TestView instance has no 'request' attribute. Did you override "
|
||||||
|
|
Loading…
Reference in New Issue