Fix/slugify with german umlaut ss (#7029)

* more tests for slugify

* Fix german umlauts in slugify

* Update __init__.py
This commit is contained in:
micw 2017-04-12 04:51:07 +02:00 committed by Paulus Schoutsen
parent 4d9e681fc1
commit 3c35d5ea58
2 changed files with 10 additions and 2 deletions

View file

@ -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."""