Author: ubernostrum
Date: 2009-09-30 01:40:34 -0500 (Wed, 30 Sep 2009)
New Revision: 11599
Modified:
django/trunk/docs/topics/testing.txt
Log:
Fixed #11961: Corrected a few typos in docs/testing.txt. Thanks to timo for the
patch.
Modified: django/trunk/docs/topics/testing.txt
===================================================================
--- django/trunk/docs/topics/testing.txt 2009-09-30 06:35:31 UTC (rev
11598)
+++ django/trunk/docs/topics/testing.txt 2009-09-30 06:40:34 UTC (rev
11599)
@@ -515,7 +515,7 @@
>>> c = Client()
>>> c.get('/customers/details/?name=fred&age=7')
- If you provide URL both an encoded GET data and a data argument,
+ If you provide a URL with both an encoded GET data and a data argument,
the data argument will take precedence.
If you set ``follow`` to ``True`` the client will follow any redirects
@@ -627,7 +627,7 @@
.. versionadded:: 1.1
- Makes an PUT request on the provided ``path`` and returns a
+ Makes a PUT request on the provided ``path`` and returns a
``Response`` object. Useful for testing RESTful interfaces. Acts just
like :meth:`Client.post` except with the PUT request method.
@@ -1127,11 +1127,11 @@
During test running, each outgoing e-mail is saved in
``django.core.mail.outbox``. This is a simple list of all
-:class:`<~django.core.mail.EmailMessage>` instances that have been sent.
+:class:`~django.core.mail.EmailMessage` instances that have been sent.
It does not exist under normal execution conditions, i.e., when you're not
running unit tests. The outbox is created during test setup, along with the
-dummy :class:`<~django.core.mail.SMTPConnection>`. When the test framework is
-torn down, the standard :class:`<~django.core.mail.SMTPConnection>` class is
+dummy :class:`~django.core.mail.SMTPConnection`. When the test framework is
+torn down, the standard :class:`~django.core.mail.SMTPConnection` class is
restored, and the test outbox is destroyed.
The ``outbox`` attribute is a special attribute that is created *only* when
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---