reactor: don‘t include default alt text in render function
This commit is contained in:
+1
-3
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user