We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b76c59 commit 2e31549Copy full SHA for 2e31549
appointment/tests/test_views.py
@@ -1239,6 +1239,7 @@ def setUp(self):
1239
1240
@patch('appointment.views.create_and_save_appointment')
1241
@patch('appointment.views.redirect_to_payment_or_thank_you_page')
1242
+ @patch('django.conf.settings.USE_DJANGO_Q_FOR_EMAILS', new=False)
1243
def test_create_appointment_success(self, mock_redirect, mock_create_and_save):
1244
"""Test successful creation of an appointment and redirection."""
1245
# Mock the appointment creation to return an Appointment instance
0 commit comments