Skip to content
Browse files

Correcting a typo and a copy/paste problem in the RequestFactory docs…

… from [14192].

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b37327c commit 3321171952f188cbab92390958c6f09d6d4f11b1 Gabriel Hurley committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/testing.txt
4 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

0 comments on commit 3321171

Please sign in to comment.
Something went wrong with that request. Please try again.