Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
  • Loading branch information...
commit 539d947ad46b12c51d2de9bd8a08be6cb7866608 1 parent 68a7484
Malcolm Tredinnick authored

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
@@ -980,10 +980,10 @@ and contents::
980 980
                 fail_silently=False)
981 981
 
982 982
             # Test that one message has been sent.
983  
-            self.assertEqual(len(mail.outbox), 1)
  983
+            self.assertEquals(len(mail.outbox), 1)
984 984
 
985 985
             # Verify that the subject of the first message is correct.
986  
-            self.assertEqual(mail.outbox[0].subject, 'Subject here')
  986
+            self.assertEquals(mail.outbox[0].subject, 'Subject here')
987 987
 
988 988
 As noted :ref:`previously <emptying-test-outbox>`, the test outbox is emptied
989 989
 at the start of every test in a Django ``TestCase``. To empty the outbox

0 notes on commit 539d947

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