mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
add websocket flow conversion test
This commit is contained in:
parent
faeb9678f1
commit
bd0e5989e2
150
test/mitmproxy/data/dumpfile-7-websocket.mitm
Normal file
150
test/mitmproxy/data/dumpfile-7-websocket.mitm
Normal file
File diff suppressed because one or more lines are too long
@ -8,6 +8,7 @@ from mitmproxy import exceptions
|
||||
["dumpfile-011.mitm", "https://example.com/", 1],
|
||||
["dumpfile-018.mitm", "https://www.example.com/", 1],
|
||||
["dumpfile-019.mitm", "https://webrv.rtb-seller.com/", 1],
|
||||
["dumpfile-7-websocket.mitm", "https://echo.websocket.org/", 5],
|
||||
])
|
||||
def test_load(tdata, dumpfile, url, count):
|
||||
with open(tdata.path("mitmproxy/data/" + dumpfile), "rb") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user