Django

Code

Changeset 9431

Show
Ignore:
Timestamp:
11/14/08 01:43:26 (2 months ago)
Author:
mtredinnick
Message:

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

Backport of r9429 from trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/releases/1.0.X/docs/topics/testing.txt

    r9187 r9431  
    981981 
    982982            # Test that one message has been sent. 
    983             self.assertEqual(len(mail.outbox), 1) 
     983            self.assertEquals(len(mail.outbox), 1) 
    984984 
    985985            # 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') 
    987987 
    988988As noted :ref:`previously <emptying-test-outbox>`, the test outbox is emptied