Use unicode slugify (#19192)
* Update __init__.py * Update setup.py * Update requirements_all.txt * Update __init__.py * Update __init__.py * Update __init__.py * Update __init__.py * Update __init__.py * remove `-` * fix packages * Update package_constraints.txt * Update __init__.py * Update package_constraints.txt * Update requirements_all.txt * Update setup.py * Fix tests * Fix line issue * fix all test * fix type * Fix lint
This commit is contained in:
parent
cc90cba78a
commit
2bf36bb1db
15 changed files with 216 additions and 215 deletions
|
@ -33,14 +33,6 @@ def test_generate_entity_id_given_keys():
|
|||
'test.another_entity']) == 'test.overwrite_hidden_true'
|
||||
|
||||
|
||||
def test_generate_entity_id_with_nonlatin_name():
|
||||
"""Test generate_entity_id given a name containing non-latin characters."""
|
||||
fmt = 'test.{}'
|
||||
assert entity.generate_entity_id(
|
||||
fmt, 'ホームアシスタント', current_ids=[]
|
||||
) == 'test.unnamed_device'
|
||||
|
||||
|
||||
def test_async_update_support(hass):
|
||||
"""Test async update getting called."""
|
||||
sync_update = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue