summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Hurley <gabehr@gmail.com>2010-10-13 11:29:18 +0000
committerGabriel Hurley <gabehr@gmail.com>2010-10-13 11:29:18 +0000
commit3321171952f188cbab92390958c6f09d6d4f11b1 (patch)
tree9ff447138c50f0005e378ef1ca2e2e796abc3179 /docs
parentb37327caae41d9d664b59fc2cd766072771d0b93 (diff)
Correcting a typo and a copy/paste problem in the RequestFactory docs from [14192].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/testing.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index d3a4fcf57a..9b72eb3da7 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -1050,11 +1050,11 @@ The following is a simple unit test using the request factory::
class SimpleTest(unittest.TestCase):
def setUp(self):
- # Every test needs a client.
+ # Every test needs access to the request factory.
self.factory = RequestFactory()
def test_details(self):
- # Create a in instance of a GET request.
+ # Create an instance of a GET request.
request = self.factory.get('/customer/details')
# Test my_view() as if it were deployed at /customer/details