mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 12:24:05 +00:00
adjust tests
This commit is contained in:
parent
6298361cc9
commit
2c3e576b0a
@ -258,9 +258,9 @@ def test_snake_case(text, expected):
|
|||||||
"text, expected",
|
"text, expected",
|
||||||
(
|
(
|
||||||
("foo_bar", "foo_bar"),
|
("foo_bar", "foo_bar"),
|
||||||
('!"§$%&/()=?foo_bar', "foo_bar"),
|
('!"§$%&/()=?foo_bar', "___________foo_bar"),
|
||||||
('foo_!"§$%&/()=?bar', "foo_bar"),
|
('foo_!"§$%&/()=?bar', "foo____________bar"),
|
||||||
('foo_bar!"§$%&/()=?', "foo_bar"),
|
('foo_bar!"§$%&/()=?', "foo_bar___________"),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
def test_sanitize(text, expected):
|
def test_sanitize(text, expected):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user