Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Malcolm Tredinnick authored November 14, 2008

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/testing.txt
4  docs/topics/testing.txt
@@ -1034,10 +1034,10 @@ and contents::
1034 1034
                 fail_silently=False)
1035 1035
 
1036 1036
             # Test that one message has been sent.
1037  
-            self.assertEqual(len(mail.outbox), 1)
  1037
+            self.assertEquals(len(mail.outbox), 1)
1038 1038
 
1039 1039
             # Verify that the subject of the first message is correct.
1040  
-            self.assertEqual(mail.outbox[0].subject, 'Subject here')
  1040
+            self.assertEquals(mail.outbox[0].subject, 'Subject here')
1041 1041
 
1042 1042
 As noted :ref:`previously <emptying-test-outbox>`, the test outbox is emptied
1043 1043
 at the start of every test in a Django ``TestCase``. To empty the outbox

0 notes on commit 40976e0

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