email template

This commit is contained in:
debu-2 2026-10-05 21:00:05 +05:30
parent ebbb582e99
commit 2451045693
15 changed files with 447 additions and 156 deletions

View file

@ -0,0 +1,8 @@
import hashlib
from app.services.member_invitations import hash_invite_token
def test_hash_invite_token_is_sha256_hex():
token = "example-token"
assert hash_invite_token(token) == hashlib.sha256(token.encode("utf-8")).hexdigest()