summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-11-14 07:43:26 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-11-14 07:43:26 +0000
commit539d947ad46b12c51d2de9bd8a08be6cb7866608 (patch)
tree451efdc2132b4b3adbfaf1b468d2ba29c846ab2e
parent68a74843d75ee8003213ddb0a3ec474fb621b909 (diff)
[django-1.0.X] Fixed #9594 -- Typo fix in the testing example.
Backport of r9429 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-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 4f37b3bdc0..8970ab7bae 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -980,10 +980,10 @@ and contents::
fail_silently=False)
# Test that one message has been sent.
- self.assertEqual(len(mail.outbox), 1)
+ self.assertEquals(len(mail.outbox), 1)
# Verify that the subject of the first message is correct.
- self.assertEqual(mail.outbox[0].subject, 'Subject here')
+ self.assertEquals(mail.outbox[0].subject, 'Subject here')
As noted :ref:`previously <emptying-test-outbox>`, the test outbox is emptied
at the start of every test in a Django ``TestCase``. To empty the outbox