Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #9594 -- Typo fix in the testing example.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 40976e08623aa362a783c142426a2103eb731e3f 1 parent a0d4749
@malcolmt malcolmt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/testing.txt
View
4 docs/topics/testing.txt
@@ -1034,10 +1034,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

0 comments on commit 40976e0

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