diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-01-20 22:39:28 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-01-20 22:39:28 +1300 |
commit | 25cb9471f08333cf93ba6cb23079a1c4876292af (patch) | |
tree | 987a24549e0b71b8ddfee000c7b1ee759a60d10e /test/test_server.py | |
parent | 294bca139c7c6551dd09f4a0f870e40d0f05f3fe (diff) | |
download | mitmproxy-25cb9471f08333cf93ba6cb23079a1c4876292af.tar.gz mitmproxy-25cb9471f08333cf93ba6cb23079a1c4876292af.tar.bz2 mitmproxy-25cb9471f08333cf93ba6cb23079a1c4876292af.zip |
Add tests for client certificate support.
Diffstat (limited to 'test/test_server.py')
-rw-r--r-- | test/test_server.py | 5 |
1 files changed, 3 insertions, 2 deletions
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): |