summaryrefslogtreecommitdiff
path: root/tests/logging_tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-04 08:08:27 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit7119f40c9881666b6f9b5cf7df09ee1d21cc8344 (patch)
treefa50869f5614295f462d9bf77fec59365c621609 /tests/logging_tests
parent9c19aff7c7561e3a82978a272ecdaad40dda5c00 (diff)
downloaddjango-7119f40c9881666b6f9b5cf7df09ee1d21cc8344.tar.gz
Refs #33476 -- Refactored code to strictly match 88 characters line length.
Diffstat (limited to 'tests/logging_tests')
-rw-r--r--tests/logging_tests/tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/logging_tests/tests.py b/tests/logging_tests/tests.py
index e585e0e23a..aa12cdf8c7 100644
--- a/tests/logging_tests/tests.py
+++ b/tests/logging_tests/tests.py
@@ -271,7 +271,8 @@ class AdminEmailHandlerTest(SimpleTestCase):
self.assertEqual(mail.outbox[0].to, ["admin@example.com"])
self.assertEqual(
mail.outbox[0].subject,
- "-SuperAwesomeSubject-ERROR: Custom message that says 'ping' and 'pong'",
+ "-SuperAwesomeSubject-ERROR: "
+ "Custom message that says 'ping' and 'pong'",
)
finally:
# Restore original filters
@@ -309,7 +310,8 @@ class AdminEmailHandlerTest(SimpleTestCase):
self.assertEqual(mail.outbox[0].to, ["admin@example.com"])
self.assertEqual(
mail.outbox[0].subject,
- "-SuperAwesomeSubject-ERROR (internal IP): Custom message that says 'ping' and 'pong'",
+ "-SuperAwesomeSubject-ERROR (internal IP): "
+ "Custom message that says 'ping' and 'pong'",
)
finally:
# Restore original filters