From fd655f1c4c6cab29452daf9991d9b3eab75203b2 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Mon, 18 Nov 2024 13:32:17 -0300 Subject: [PATCH] Fix ext-theme test (#11776) --- readthedocs/rtd_tests/tests/test_notifications.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readthedocs/rtd_tests/tests/test_notifications.py b/readthedocs/rtd_tests/tests/test_notifications.py index cb1d3912e2a..3296822ede9 100644 --- a/readthedocs/rtd_tests/tests/test_notifications.py +++ b/readthedocs/rtd_tests/tests/test_notifications.py @@ -4,6 +4,7 @@ from unittest import mock import django_dynamic_fixture as fixture +from django.conf import settings from django.contrib.auth.models import User from django.test import TestCase from django.test.utils import override_settings @@ -54,7 +55,7 @@ class TestNotification(EmailNotification): "DO_NOT_TRACK_ENABLED": mock.ANY, "GLOBAL_ANALYTICS_CODE": mock.ANY, "PRODUCTION_DOMAIN": "readthedocs.org", - "SWITCH_PRODUCTION_DOMAIN": "app.readthedocs.org", + "SWITCH_PRODUCTION_DOMAIN": settings.SWITCH_PRODUCTION_DOMAIN, "PUBLIC_DOMAIN": mock.ANY, "PUBLIC_API_URL": mock.ANY, "RTD_EXT_THEME_ENABLED": mock.ANY,