From 7b9910faef65652f942864b8b27c7adeba32537b Mon Sep 17 00:00:00 2001 From: michelligabriele Date: Fri, 4 Sep 2026 13:45:15 +0200 Subject: [PATCH] test(sendgrid): remove redundant docstrings from reply_to tests --- .../enterprise_callbacks/send_emails/test_sendgrid_email.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_litellm/enterprise/enterprise_callbacks/send_emails/test_sendgrid_email.py b/tests/test_litellm/enterprise/enterprise_callbacks/send_emails/test_sendgrid_email.py index 6f2094717b0..6dadc9f08bd 100644 --- a/tests/test_litellm/enterprise/enterprise_callbacks/send_emails/test_sendgrid_email.py +++ b/tests/test_litellm/enterprise/enterprise_callbacks/send_emails/test_sendgrid_email.py @@ -137,7 +137,6 @@ async def test_send_email_multiple_recipients(mock_env_vars, mock_async_client): @pytest.mark.asyncio async def test_send_email_sets_reply_to_when_configured(monkeypatch, mock_async_client): - """SENDGRID_REPLY_TO_EMAIL is sent as the payload's reply_to and leaves from alone.""" monkeypatch.setenv("SENDGRID_API_KEY", "test_api_key") monkeypatch.delenv("SENDGRID_SENDER_EMAIL", raising=False) monkeypatch.setenv("SENDGRID_REPLY_TO_EMAIL", "litellm-alerts@example.com") @@ -159,8 +158,6 @@ async def test_send_email_sets_reply_to_when_configured(monkeypatch, mock_async_ @pytest.mark.asyncio async def test_send_email_omits_reply_to_when_not_configured(monkeypatch, mock_async_client): - """With SENDGRID_REPLY_TO_EMAIL unset the key is absent, not null, so SendGrid - keeps defaulting Reply-To to the sender.""" monkeypatch.setenv("SENDGRID_API_KEY", "test_api_key") monkeypatch.delenv("SENDGRID_REPLY_TO_EMAIL", raising=False)