mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Fix flow formatting unit tests.
This commit is contained in:
parent
897bd5c2b8
commit
e35fd7126b
@ -101,8 +101,6 @@ class uformat_flow(libpry.AutoTree):
|
||||
f.request = f.response.request
|
||||
f.backup()
|
||||
|
||||
assert ('method', '[edited] ') in console.format_flow(f, True)
|
||||
assert ('method', '[edited] ') in console.format_flow(f, True, True)
|
||||
f.request.set_replay()
|
||||
assert ('method', '[replay]') in console.format_flow(f, True)
|
||||
assert ('method', '[replay]') in console.format_flow(f, True, True)
|
||||
|
Loading…
Reference in New Issue
Block a user