mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-19 17:18:23 +02:00
Fix linting error
This commit is contained in:
parent
ae381bd2a6
commit
7953be751e
@ -511,7 +511,7 @@ class EmailInteractionsTestCase(TestCase):
|
||||
)
|
||||
# Check that the CC duplicate was still sent a notification email
|
||||
email_count = len(mail.outbox)
|
||||
found = any(dup_email in email.to for email in mail.outbox[:email_count - 1])
|
||||
found = any(dup_email in email.to for email in mail.outbox[: email_count - 1])
|
||||
self.assertTrue(
|
||||
found, "The duplicated email across user ID's was not sent a notification."
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user