diff options
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 2 | ||||
| -rw-r--r-- | docs/topics/testing/overview.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 8f7f093901..b8e70b592b 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -37,7 +37,7 @@ Example The following is a simple unit test using the request factory:: - from django.utils import unittest + import unittest from django.test.client import RequestFactory class SimpleTest(unittest.TestCase): diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt index 9cf805e371..6f75a3b7a8 100644 --- a/docs/topics/testing/overview.txt +++ b/docs/topics/testing/overview.txt @@ -800,7 +800,7 @@ Example The following is a simple unit test using the test client:: - from django.utils import unittest + import unittest from django.test.client import Client class SimpleTest(unittest.TestCase): @@ -1143,7 +1143,7 @@ worry about state (such as cookies) carrying over from one test to another. This means, instead of instantiating a ``Client`` in each test:: - from django.utils import unittest + import unittest from django.test.client import Client class SimpleTest(unittest.TestCase): |
