aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/test_connections.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2017-04-30 13:41:53 +1200
committerAldo Cortesi <aldo@corte.si>2017-04-30 14:05:45 +1200
commit075d452a6d4e9f21ffd7b3293ec9270ee961917a (patch)
tree7084cb7c4575e81909bc7911442bb221c346252e /test/mitmproxy/test_connections.py
parent7ffb2c7981b76ed2e8c467d3db3141b013cccd5b (diff)
downloadmitmproxy-075d452a6d4e9f21ffd7b3293ec9270ee961917a.tar.gz
mitmproxy-075d452a6d4e9f21ffd7b3293ec9270ee961917a.tar.bz2
mitmproxy-075d452a6d4e9f21ffd7b3293ec9270ee961917a.zip
cut: more flexible cut specification based on attribute paths
Also support certificate types, which are converted to ASCII-encoded PEM format.
Diffstat (limited to 'test/mitmproxy/test_connections.py')
-rw-r--r--test/mitmproxy/test_connections.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/test_connections.py b/test/mitmproxy/test_connections.py
index 67a6552f..e320885d 100644
--- a/test/mitmproxy/test_connections.py
+++ b/test/mitmproxy/test_connections.py
@@ -99,7 +99,7 @@ class TestServerConnection:
c.alpn_proto_negotiated = b'h2'
assert 'address:22' in repr(c)
assert 'ALPN' in repr(c)
- assert 'TLS: foobar' in repr(c)
+ assert 'TLSv1.2: foobar' in repr(c)
c.sni = None
c.tls_established = True