mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
parent
4bb70cbcc6
commit
321e94fa41
185 changed files with 1216 additions and 1528 deletions
|
@ -189,9 +189,7 @@ class AbstractUserTestCase(TestCase):
|
|||
from_email="from@domain.com",
|
||||
**kwargs
|
||||
)
|
||||
# Test that one message has been sent.
|
||||
self.assertEqual(len(mail.outbox), 1)
|
||||
# Verify that test email contains the correct attributes:
|
||||
message = mail.outbox[0]
|
||||
self.assertEqual(message.subject, "Subject here")
|
||||
self.assertEqual(message.body, "This is a message")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue