From 25cb9471f08333cf93ba6cb23079a1c4876292af Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 20 Jan 2013 22:39:28 +1300 Subject: Add tests for client certificate support. --- test/test_server.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/test_server.py') diff --git a/test/test_server.py b/test/test_server.py index 74647601..f0000af4 100644 --- a/test/test_server.py +++ b/test/test_server.py @@ -71,9 +71,10 @@ class TestHTTP(tutils.HTTPProxTest, SanityMixin): class TestHTTPS(tutils.HTTPProxTest, SanityMixin): ssl = True - # FIXME: Instrument pathod to actually test that client cert is being sent - # correctly. clientcerts = True + def test_clientcert(self): + f = self.pathod("304") + assert self.last_log()["request"]["clientcert"]["keyinfo"] class TestReverse(tutils.ReverseProxTest, SanityMixin): -- cgit v1.2.3