mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
removed assigned but unread variables
This commit is contained in:
parent
da496669c2
commit
1a26f8215d
@ -143,7 +143,7 @@ class TestServerPlaybackState:
|
|||||||
s = flow.ServerPlaybackState(None, [r, r2], False, True)
|
s = flow.ServerPlaybackState(None, [r, r2], False, True)
|
||||||
|
|
||||||
assert s.count() == 2
|
assert s.count() == 2
|
||||||
n = s.next_flow(r)
|
s.next_flow(r)
|
||||||
assert s.count() == 2
|
assert s.count() == 2
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ class SanityMixin:
|
|||||||
|
|
||||||
# Port error
|
# Port error
|
||||||
l.request.port = 1
|
l.request.port = 1
|
||||||
rt = self.master.replay_request(l, block=True)
|
self.master.replay_request(l, block=True)
|
||||||
assert l.error
|
assert l.error
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ class TestMaster(flow.FlowMaster):
|
|||||||
self.testq = testq
|
self.testq = testq
|
||||||
|
|
||||||
def handle(self, m):
|
def handle(self, m):
|
||||||
f = flow.FlowMaster.handle(self, m)
|
flow.FlowMaster.handle(self, m)
|
||||||
m._ack()
|
m._ack()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user