Fix linting error

This commit is contained in:
Christopher Broderick 2025-05-10 13:18:10 +01:00
parent ae381bd2a6
commit 7953be751e

View File

@ -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."
)