From cfcf4b3605f9653e4e056088d89932b2a0e4281b Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 1 Jul 2013 14:22:27 +0200 Subject: Stopped using django.utils.unittest in the test suite. Refs #20680. --- docs/topics/testing/advanced.txt | 2 +- docs/topics/testing/overview.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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): -- cgit v1.3