add user email template

This commit is contained in:
debu-2 2026-10-05 19:35:26 +05:30
parent dd0ceef665
commit ebbb582e99
2 changed files with 25 additions and 31 deletions

View file

@ -13,20 +13,18 @@ def test_employee_invitation_uses_gentic_branding():
force_password_change=True,
)
assert "aGentic Email" in subject
assert subject == (
"Account invitation: Suyash Dixit added you to road.rentals on aGentic Email"
)
assert subject == "Suyash Dixit invited you to join road.rentals"
assert "AGMail" not in subject
assert "Suyash Dixit" in subject
assert "road.rentals" in subject
assert "aGentic Email" not in subject
assert "Gentic Email" in body_text
assert "aGentic Email" in body_text
assert "AGMail" not in body_text
assert "Suyash Dixit has created a work email account" in body_text
assert "You are receiving this because Suyash Dixit invited you" in body_text
assert "cannot unsubscribe from required account emails" in body_text
assert "anurag@road.rentals" in body_text
assert "gentic.email" in body_html
assert "Organization invitation" in body_html
assert "Work email invitation" in body_html
assert "invited you to join" in body_html
assert "Sign in to aGentic Email" in body_html
assert "AGMail" not in body_html