tests/test-url.py
branchstable
changeset 13248 00411a4fa1bb
parent 12865 4c50552fc9bc
child 13249 75d0c38a0bca
--- a/tests/test-url.py	Sat Jan 08 11:18:38 2011 +0100
+++ b/tests/test-url.py	Sat Jan 08 21:52:25 2011 +0900
@@ -36,3 +36,7 @@
       'no commonName found in certificate')
 check(_verifycert(None, 'example.com'),
       'no certificate received')
+
+# Unicode (IDN) certname isn't supported
+check(_verifycert(cert(u'\u4f8b.jp'), 'example.jp'),
+      'IDN in certificate not supported')