mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
fix #341 - work on flows instead of request/response internally.
This commit is contained in:
@@ -9,7 +9,7 @@ import tutils
|
||||
|
||||
|
||||
def test_format_flow():
|
||||
f = tutils.tflow_full()
|
||||
f = tutils.tflow(resp=True)
|
||||
assert common.format_flow(f, True)
|
||||
assert common.format_flow(f, True, hostheader=True)
|
||||
assert common.format_flow(f, True, extended=True)
|
||||
|
||||
Reference in New Issue
Block a user