reactor: don‘t include default alt text in render function

This commit is contained in:
Tim Grelka
2026-01-09 20:53:53 +01:00
parent ee5197000e
commit f7746fe7a4
4 changed files with 9 additions and 9 deletions
+1 -3
View File
@@ -9,9 +9,7 @@ from test.util import paragraph
@pytest.mark.html
def test_photo_html():
assertions = {
"[photo:123:abc:Text]": FiftyOhmHtmlRenderer.render_photo_helper(
"123", "abc", "Text", "TODO", "Alt-Text noch nicht verfügbar"
),
"[photo:123:abc:Text]": FiftyOhmHtmlRenderer.render_photo_helper("123", "abc", "Text", "TODO", ""),
}
for assertion in assertions:
+1 -3
View File
@@ -9,9 +9,7 @@ from test.util import paragraph
@pytest.mark.html
def test_picture_html():
assertions = {
"[picture:0:abc:Text]": FiftyOhmHtmlRenderer.render_picture_helper(
"0", "abc", "Text", "TODO", "Alt-Text noch nicht verfügbar"
),
"[picture:0:abc:Text]": FiftyOhmHtmlRenderer.render_picture_helper("0", "abc", "Text", "TODO", ""),
}
for assertion in assertions: