Skip to content

Commit

Permalink
fix: type errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Dec 14, 2023
1 parent 4c43392 commit e46987e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions apps/api/tests/test_sendgrid_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,22 @@
from httpx import HTTPStatusError, Request, Response

from services import sendgrid_handler
from services.sendgrid_handler import PersonalizationData

SAMPLE_SENDER = ("[email protected]", "No Reply IrvineHacks")
SAMPLE_RECIPIENTS = [
{"email": "[email protected]", "name": "Hacker Zero"},
{"email": "[email protected]", "name": "Hacker One"},
SAMPLE_RECIPIENTS: list[PersonalizationData] = [
{
"email": "[email protected]",
"first_name": "Hacker",
"last_name": "Zero",
"passphrase": None,
},
{
"email": "[email protected]",
"first_name": "Hacker",
"last_name": "One",
"passphrase": None,
},
]


Expand Down

0 comments on commit e46987e

Please sign in to comment.