mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #21288 -- Fixed E126 pep8 warnings
This commit is contained in:
parent
a3690168cb
commit
b289fcf1bf
80 changed files with 646 additions and 634 deletions
|
@ -324,8 +324,8 @@ class MailTests(HeadersCheckMixin, SimpleTestCase):
|
|||
|
||||
connection = mail.get_connection('mail.custombackend.EmailBackend')
|
||||
send_mass_mail([
|
||||
('Subject1', 'Content1', 'from1@example.com', ['to1@example.com']),
|
||||
('Subject2', 'Content2', 'from2@example.com', ['to2@example.com']),
|
||||
('Subject1', 'Content1', 'from1@example.com', ['to1@example.com']),
|
||||
('Subject2', 'Content2', 'from2@example.com', ['to2@example.com']),
|
||||
], connection=connection)
|
||||
self.assertEqual(mail.outbox, [])
|
||||
self.assertEqual(len(connection.test_outbox), 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue