mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +01:00
Disallow _ in node name (#1632)
This commit is contained in:
@@ -27,7 +27,7 @@ def test_alphanumeric__invalid(value):
|
||||
config_validation.alphanumeric(value)
|
||||
|
||||
|
||||
@given(value=text(alphabet=string.ascii_lowercase + string.digits + "_-"))
|
||||
@given(value=text(alphabet=string.ascii_lowercase + string.digits + "-_"))
|
||||
def test_valid_name__valid(value):
|
||||
actual = config_validation.valid_name(value)
|
||||
|
||||
|
Reference in New Issue
Block a user