mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Fix/slugify with german umlaut ss (#7029)
* more tests for slugify * Fix german umlauts in slugify * Update __init__.py
This commit is contained in:
@@ -37,6 +37,7 @@ class TestUtil(unittest.TestCase):
|
||||
util.slugify("greg_phone - exp_wayp1"))
|
||||
self.assertEqual("we_are_we_are_a_test_calendar",
|
||||
util.slugify("We are, we are, a... Test Calendar"))
|
||||
self.assertEqual("test_aouss_aou", util.slugify("Tèst_äöüß_ÄÖÜ"))
|
||||
|
||||
def test_repr_helper(self):
|
||||
"""Test repr_helper."""
|
||||
|
||||
Reference in New Issue
Block a user