clientcert tests: fix whitespace

This commit is contained in:
Michael J. Bazzinotti 2015-12-29 11:57:14 -05:00 committed by Maximilian Hils
parent 7b093b46b6
commit f8d8a80bd0

View File

@ -324,6 +324,7 @@ class TestHTTPS(tservers.HTTPProxTest, CommonMixin, TcpMixin):
assert self.server.last_log()["request"]["clientcert"]["keyinfo"] assert self.server.last_log()["request"]["clientcert"]["keyinfo"]
finally: finally:
self.config.clientcerts = None self.config.clientcerts = None
def test_clientcert_dir(self): def test_clientcert_dir(self):
try: try:
self.config.clientcerts = tutils.test_data.path("data/clientcert") 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"] assert self.server.last_log()["request"]["clientcert"]["keyinfo"]
finally: finally:
self.config.clientcerts = None self.config.clientcerts = None
def test_error_post_connect(self): def test_error_post_connect(self):
p = self.pathoc() p = self.pathoc()
assert p.request("get:/:i0,'invalid\r\n\r\n'").status_code == 400 assert p.request("get:/:i0,'invalid\r\n\r\n'").status_code == 400