Skip to content

Commit 0d598a5

Browse files
committed
Updating README for better int w/ django technique
1 parent e900f65 commit 0d598a5

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,22 @@ simply as follows::
2121
A TestCase class that combines minimocktest and django.test.TestCase
2222
'''
2323

24-
def setUp(self):
25-
TestCase.setUp(self)
24+
def _pre_setup(self):
25+
TestCase._pre_setup(self)
2626
MockTestCase.setUp(self)
2727
# optional: shortcut client handle for quick testing
2828
self.client = Client()
2929

30-
def tearDown(self):
30+
def _post_teardown(self):
3131
MockTestCase.tearDown(self)
32-
TestCase.tearDown(self)
32+
TestCase._post_teardown(self)
33+
34+
def setUp(self):
35+
pass
36+
37+
def tearDown(self):
38+
pass
39+
3340

3441
COPYING
3542
-------

0 commit comments

Comments
 (0)