summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rw-r--r--test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test.py b/test.py
index e1efe38..29f0ac7 100644
--- a/test.py
+++ b/test.py
@@ -223,6 +223,11 @@ class TestSlugification(unittest.TestCase):
r = slugify(txt, replacements=[['♥', 'amour'], ['🦄', 'licorne']])
self.assertEqual(r, "i-amour-licorne")
+ def test_replacements_german_umlaut_custom(self):
+ txt = 'ÜBER Über German Umlaut'
+ r = slugify(txt, replacements=[['Ü', 'UE'], ['ü', 'ue']])
+ self.assertEqual(r, "ueber-ueber-german-umlaut")
+
class TestUtils(unittest.TestCase):