docs: refresh branded email previews

This commit is contained in:
3252a8
2026-06-03 11:20:50 +03:00
parent 2d43033f98
commit 5d1fd3304b
7 changed files with 59 additions and 2 deletions
+2
View File
@@ -326,5 +326,7 @@ def test_docs_email_preview_generator_renders_real_template_html():
assert all(preview["html"].lstrip().startswith("<!DOCTYPE html>") for preview in previews)
assert all('<html lang="ru"' in preview["html"] for preview in previews)
assert all('role="presentation"' in preview["html"] for preview in previews)
assert all('src="data:image/png;base64,' in preview["html"] for preview in previews)
assert all("cid:webapp-logo" not in preview["html"] for preview in previews)
assert all("mail-card" not in preview["html"] for preview in previews)
assert all("email_" not in preview["subject"] + preview["html"] for preview in previews)