1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Catch HTML case insensitively in "no HTML" config validation (#101181)

This commit is contained in:
Ville Skyttä
2023-10-01 17:19:24 +03:00
committed by GitHub
parent a3808383d5
commit f4bf8fa8f1
3 changed files with 5 additions and 2 deletions

View File

@@ -563,6 +563,9 @@ def test_string_with_no_html() -> None:
with pytest.raises(vol.Invalid):
schema("<b>Bold</b>")
with pytest.raises(vol.Invalid):
schema("HTML element names are <EM>case-insensitive</eM>.")
for value in (
True,
3,