mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
clientcert tests: fix whitespace
This commit is contained in:
parent
7b093b46b6
commit
f8d8a80bd0
@ -324,6 +324,7 @@ class TestHTTPS(tservers.HTTPProxTest, CommonMixin, TcpMixin):
|
||||
assert self.server.last_log()["request"]["clientcert"]["keyinfo"]
|
||||
finally:
|
||||
self.config.clientcerts = None
|
||||
|
||||
def test_clientcert_dir(self):
|
||||
try:
|
||||
self.config.clientcerts = tutils.test_data.path("data/clientcert")
|
||||
@ -332,6 +333,7 @@ class TestHTTPS(tservers.HTTPProxTest, CommonMixin, TcpMixin):
|
||||
assert self.server.last_log()["request"]["clientcert"]["keyinfo"]
|
||||
finally:
|
||||
self.config.clientcerts = None
|
||||
|
||||
def test_error_post_connect(self):
|
||||
p = self.pathoc()
|
||||
assert p.request("get:/:i0,'invalid\r\n\r\n'").status_code == 400
|
||||
|
Loading…
Reference in New Issue
Block a user