MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / test_tls_setup

Function test_tls_setup

test/mitmproxy/addons/test_savehar.py:138–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136
137
138def test_tls_setup():
139 s = SaveHar()
140 servers_seen: set[Server] = set()
141 flow = tflow.twebsocketflow()
142 flow.server_conn.timestamp_tls_setup = None
143
144 assert s.flow_entry(flow, servers_seen)["timings"]["ssl"] == -1.0
145
146
147def test_binary_content():

Callers

nothing calls this directly

Calls 3

flow_entryMethod · 0.95
SaveHarClass · 0.90
setFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…