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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user