mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed be3f0fb

[django-1.0.X] Fixed #9594 -- Typo fix in the testing example.

Backport of r9429 from trunk.

  • Participants
  • Parent commits 724d80c
  • Branches releases/1.0.X

Comments (0)

Files changed (1)

File docs/topics/testing.txt

             # 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