summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/tests.py
diff options
context:
space:
mode:
authorJohanan Oppong Amoateng <johananoppongamoateng2001@gmail.com>2025-03-20 10:22:07 +0000
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-03-21 10:19:36 +0100
commit5adadf6e8c74ab14d432e9d682ca1914789386de (patch)
treebc35567c1384372d7e60020f13dfe95dcaf89222 /tests/admin_scripts/tests.py
parente295033144e3085abaf9277d1bb0a6436ce73e01 (diff)
Fixed #36266 -- Renamed HIDE_PRODUCTION_WARNING environment variable to DJANGO_RUNSERVER_HIDE_WARNING.
Diffstat (limited to 'tests/admin_scripts/tests.py')
-rw-r--r--tests/admin_scripts/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
index 5d8a5ec97e..e4900eefd5 100644
--- a/tests/admin_scripts/tests.py
+++ b/tests/admin_scripts/tests.py
@@ -1630,7 +1630,7 @@ class ManageRunserver(SimpleTestCase):
self.output.getvalue(),
)
- @mock.patch.dict(os.environ, {"HIDE_PRODUCTION_WARNING": "true"})
+ @mock.patch.dict(os.environ, {"DJANGO_RUNSERVER_HIDE_WARNING": "true"})
def test_hide_production_warning_with_environment_variable(self):
self.cmd.addr = "0"
self.cmd._raw_ipv6 = False