mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
parent
df8d8d4292
commit
92053acbb9
148 changed files with 2073 additions and 2248 deletions
|
@ -154,8 +154,12 @@ class AbstractUserTestCase(TestCase):
|
|||
"html_message": None,
|
||||
}
|
||||
abstract_user = AbstractUser(email='foo@bar.com')
|
||||
abstract_user.email_user(subject="Subject here",
|
||||
message="This is a message", from_email="from@domain.com", **kwargs)
|
||||
abstract_user.email_user(
|
||||
subject="Subject here",
|
||||
message="This is a message",
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue