mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #26021 -- Used hanging indentation in some doc examples.
This commit is contained in:
parent
5238af3257
commit
e475e84970
4 changed files with 30 additions and 20 deletions
|
@ -1703,9 +1703,11 @@ and contents::
|
|||
class EmailTest(TestCase):
|
||||
def test_send_email(self):
|
||||
# Send message.
|
||||
mail.send_mail('Subject here', 'Here is the message.',
|
||||
mail.send_mail(
|
||||
'Subject here', 'Here is the message.',
|
||||
'from@example.com', ['to@example.com'],
|
||||
fail_silently=False)
|
||||
fail_silently=False,
|
||||
)
|
||||
|
||||
# Test that one message has been sent.
|
||||
self.assertEqual(len(mail.outbox), 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue