mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Corrected many style guide violations that the newest version of flake8 catches
This commit is contained in:
parent
92dbf34286
commit
778ce245dd
39 changed files with 55 additions and 54 deletions
|
@ -192,7 +192,7 @@ class MailTests(HeadersCheckMixin, SimpleTestCase):
|
|||
SafeMIMEMultipart as well
|
||||
"""
|
||||
headers = {"Date": "Fri, 09 Nov 2001 01:08:47 -0000", "Message-ID": "foo"}
|
||||
subject, from_email, to = 'hello', 'from@example.com', '"Sürname, Firstname" <to@example.com>'
|
||||
from_email, to = 'from@example.com', '"Sürname, Firstname" <to@example.com>'
|
||||
text_content = 'This is an important message.'
|
||||
html_content = '<p>This is an <strong>important</strong> message.</p>'
|
||||
msg = EmailMultiAlternatives('Message from Firstname Sürname', text_content, from_email, [to], headers=headers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue