Changeset 9429
- Timestamp:
- 11/14/08 01:38:55 (2 months ago)
- Files:
-
- django/trunk/docs/topics/testing.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/topics/testing.txt
r9398 r9429 1035 1035 1036 1036 # Test that one message has been sent. 1037 self.assertEqual (len(mail.outbox), 1)1037 self.assertEquals(len(mail.outbox), 1) 1038 1038 1039 1039 # Verify that the subject of the first message is correct. 1040 self.assertEqual (mail.outbox[0].subject, 'Subject here')1040 self.assertEquals(mail.outbox[0].subject, 'Subject here') 1041 1041 1042 1042 As noted :ref:`previously <emptying-test-outbox>`, the test outbox is emptied
