https://github.com/mitmproxy/mitmproxy/issues/6579
()
| 174 | |
| 175 | |
| 176 | def test_flow_entry(): |
| 177 | """https://github.com/mitmproxy/mitmproxy/issues/6579""" |
| 178 | s = SaveHar() |
| 179 | req = Request.make("CONNECT", "https://test.test/") |
| 180 | flow = tflow.tflow(req=req) |
| 181 | servers_seen: set[Server] = set() |
| 182 | |
| 183 | flow_entry = s.flow_entry(flow, servers_seen) |
| 184 | |
| 185 | assert flow_entry["request"]["url"].startswith("https") |
| 186 | |
| 187 | |
| 188 | class TestHardumpOption: |
nothing calls this directly
no test coverage detected
searching dependent graphs…