mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
test(sendgrid): remove redundant docstrings from reply_to tests
This commit is contained in:
parent
8fc119058e
commit
7b9910faef
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue