Fixed typo in docs/topics/testing/tools.txt
This commit is contained in:
parent
67c063e6d5
commit
c21b832c12
|
@ -619,13 +619,13 @@ then you should use :class:`~django.test.TransactionTestCase` or
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
super(cls, MyTestCase).setUpClass() # Call parent first
|
super(MyTestCase, cls).setUpClass() # Call parent first
|
||||||
...
|
...
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
...
|
...
|
||||||
super(cls, MyTestCase).tearDownClass() # Call parent last
|
super(MyTestCase, cls).tearDownClass() # Call parent last
|
||||||
|
|
||||||
TransactionTestCase
|
TransactionTestCase
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
Loading…
Reference in New Issue