Fixed #5832 -- Removed unneeded import in testing documentation, thanks Thomas Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9a30ed5cd5
commit
0709c23046
|
@ -721,7 +721,6 @@ This means, instead of instantiating a ``Client`` in each test::
|
||||||
...you can just refer to ``self.client``, like so::
|
...you can just refer to ``self.client``, like so::
|
||||||
|
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.test.client import Client
|
|
||||||
|
|
||||||
class SimpleTest(TestCase):
|
class SimpleTest(TestCase):
|
||||||
def test_details(self):
|
def test_details(self):
|
||||||
|
|
Loading…
Reference in New Issue