mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
fix all tests except those using set_url and get_url
This commit is contained in:
@@ -32,8 +32,8 @@ class TestScript:
|
||||
r = tutils.treq()
|
||||
fm.handle_request(r)
|
||||
assert fm.state.flow_count() == 2
|
||||
assert not fm.state.view[0].request.is_replay()
|
||||
assert fm.state.view[1].request.is_replay()
|
||||
assert not fm.state.view[0].request.is_replay
|
||||
assert fm.state.view[1].request.is_replay
|
||||
|
||||
def test_err(self):
|
||||
s = flow.State()
|
||||
|
||||
Reference in New Issue
Block a user