mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
flow_count() -> len(flows)
This commit is contained in:
parent
1084588103
commit
da8444b11f
@ -1007,8 +1007,8 @@ class TestUpstreamProxySSL(
|
||||
req = p.request("get:'/p/418'")
|
||||
|
||||
assert req.status_code == 418
|
||||
assert self.chain[0].tmaster.state.flow_count() == 0
|
||||
assert self.chain[1].tmaster.state.flow_count() == 1
|
||||
assert len(self.chain[0].tmaster.state.flows) == 0
|
||||
assert len(self.chain[1].tmaster.state.flows) == 1
|
||||
|
||||
|
||||
class UpstreamProxyChanger:
|
||||
|
Loading…
Reference in New Issue
Block a user