diff options
| author | Mike Edmunds <medmunds@gmail.com> | 2025-02-14 10:58:01 -0800 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-03-21 10:17:57 +0100 |
| commit | e295033144e3085abaf9277d1bb0a6436ce73e01 (patch) | |
| tree | 582ec2ccaf6440a27c5bff5f6b73db2c8e5bd4ea /tests/middleware | |
| parent | aed303aff57ac990894b6354af001b0e8ea55f71 (diff) | |
Fixed #36138 -- Changed ADMINS and MANAGERS settings to lists of strings.
Previously, the ADMINS and MANAGERS settings were lists of (name, address)
tuples (where the name had been unused). Deprecated use of tuples.
Updated settings value sanity checks, and changed from ValueError to
ImproperlyConfigured.
Diffstat (limited to 'tests/middleware')
| -rw-r--r-- | tests/middleware/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/middleware/tests.py b/tests/middleware/tests.py index 4c17b4ec34..2e796ecfc7 100644 --- a/tests/middleware/tests.py +++ b/tests/middleware/tests.py @@ -389,7 +389,7 @@ class CommonMiddlewareTest(SimpleTestCase): @override_settings( IGNORABLE_404_URLS=[re.compile(r"foo")], - MANAGERS=[("PHD", "PHB@dilbert.com")], + MANAGERS=["manager@example.com"], ) class BrokenLinkEmailsMiddlewareTest(SimpleTestCase): rf = RequestFactory() |
