mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Minor coverage.
This commit is contained in:
parent
98b860b0f7
commit
5cd7563d12
@ -827,7 +827,6 @@ class ClientConnect(StateObject):
|
||||
def __str__(self):
|
||||
if self.address:
|
||||
return "%s:%d"%(self.address[0],self.address[1])
|
||||
return "None"
|
||||
|
||||
def _load_state(self, state):
|
||||
self.close = True
|
||||
|
@ -1191,6 +1191,8 @@ class TestClientConnect:
|
||||
c3 = c.copy()
|
||||
assert c3 == c
|
||||
|
||||
assert str(c)
|
||||
|
||||
|
||||
def test_decoded():
|
||||
r = tutils.treq()
|
||||
|
Loading…
Reference in New Issue
Block a user