Skip to content

Commit 7b54c0a

Browse files
committed
Test email domain NFC normalization
1 parent 6364583 commit 7b54c0a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ def test_clean_email():
231231
{"input": "foo@example.comcom", "output": "foo@example.com"},
232232
{"input": "foo@example.com.", "output": "foo@example.com"},
233233
{"input": "foo@example.com...", "output": "foo@example.com"},
234+
{"input": "example@bu\u0308cher.com", "output": "example@xn--bcher-kva.com"},
235+
{"input": "example@b\u00FCcher.com", "output": "example@xn--bcher-kva.com"},
234236
]
235237

236238
for test in tests:

0 commit comments

Comments
 (0)