[PATCH 3 of 8 v2] tests: make test-url use absolute_import

timeless timeless at gmail.com
Tue Apr 12 17:58:07 EDT 2016


On Tue, Apr 12, 2016 at 4:48 PM, Pulkit Goyal <7895pulkit at gmail.com> wrote:
>
> +_verifycert = sslutil._verifycert
>  # Test non-wildcard certificates
>  check(_verifycert(cert('example.com'), 'example.com'),
>        None)
> @@ -35,7 +40,7 @@
>  check(_verifycert(san_cert, 'foo.example.net'),
>        None)
>  # no fallback to subject commonName when subjectAltName has DNS
> -check(_verifycert(san_cert, 'example.com'),
> +check(sslutil._verifycert(san_cert, 'example.com'),

You missed a spot :(


More information about the Mercurial-devel mailing list