diff tests/test-url.py @ 14204:5fa21960b2f4

sslutil: extracted ssl methods from httpsconnection in url.py This makes it easier to share ssl cert validation with other http implementations.
author Augie Fackler <durin42@gmail.com>
date Wed, 04 May 2011 22:08:55 -0500
parents 924c82157d46
children a389dd285282
line wrap: on
line diff
--- a/tests/test-url.py	Fri May 06 00:34:10 2011 +0200
+++ b/tests/test-url.py	Wed May 04 22:08:55 2011 -0500
@@ -7,7 +7,7 @@
 def cert(cn):
     return dict(subject=((('commonName', cn),),))
 
-from mercurial.url import _verifycert
+from mercurial.sslutil import _verifycert
 
 # Test non-wildcard certificates
 check(_verifycert(cert('example.com'), 'example.com'),