Skip to content

Commit

Permalink
Send all distributed pno emails to CNSP in Datascience
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Sep 4, 2024
1 parent 11364b8 commit 083f788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datascience/src/pipeline/flows/distribute_pnos.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def create_email(pno: RenderedPno, test_mode: bool) -> PnoToSend:
else:
return None
else:
to = pno.emails
to = pno.emails + ["[email protected]"]

message = create_html_email(
to=to,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ def test_create_email(
assert pno_to_send.message["To"] == "[email protected]"
else:
assert (
pno_to_send.message["To"] == "alternative@email, [email protected]"
pno_to_send.message["To"] == "alternative@email, [email protected], [email protected]"
)
assert pno_to_send.message["From"] == "[email protected]"
assert pno_to_send.message["Cc"] is None
Expand Down

0 comments on commit 083f788

Please sign in to comment.