Changeset 9431
- Timestamp:
- 11/14/08 01:43:26 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/releases/1.0.X/docs/topics/testing.txt
r9187 r9431 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
