diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-11-14 07:38:55 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-11-14 07:38:55 +0000 |
| commit | 40976e08623aa362a783c142426a2103eb731e3f (patch) | |
| tree | 54a96aaa9dfee3fd92e5b66f4749ad43dfcecadf /docs/topics/testing.txt | |
| parent | a0d4749920fa87182dcf70ae979367295546f731 (diff) | |
Fixed #9594 -- Typo fix in the testing example.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/testing.txt')
| -rw-r--r-- | docs/topics/testing.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index 91a78a9c33..304ed48f3b 100644 --- a/docs/topics/testing.txt +++ b/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 |
