diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-06-09 13:55:55 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-06-09 13:55:55 +1200 |
commit | 22192d1a46a45b3824290ff4095539fa8b6be1fa (patch) | |
tree | ca395bf8a5b17ac12534a89bf008c64a627a3425 /libmproxy/certutils.py | |
parent | b7b357528c3d3867f1a29400de3a11f2d976e60d (diff) | |
download | mitmproxy-22192d1a46a45b3824290ff4095539fa8b6be1fa.tar.gz mitmproxy-22192d1a46a45b3824290ff4095539fa8b6be1fa.tar.bz2 mitmproxy-22192d1a46a45b3824290ff4095539fa8b6be1fa.zip |
Nose mopup: docs, no cover pragmas, a few missing path specs.
Diffstat (limited to 'libmproxy/certutils.py')
-rw-r--r-- | libmproxy/certutils.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libmproxy/certutils.py b/libmproxy/certutils.py index 6ce2ea09..31b1fa08 100644 --- a/libmproxy/certutils.py +++ b/libmproxy/certutils.py @@ -213,10 +213,7 @@ class SSLCert: return altnames -# begin nocover -def get_remote_cert(host, port): +def get_remote_cert(host, port): # pragma: no cover addr = socket.gethostbyname(host) s = ssl.get_server_certificate((addr, port)) return SSLCert(s) -# end nocover - |