diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-04-19 10:43:16 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-04-19 10:43:16 +1200 |
commit | f332674ce1fb0780a887406c0076b88cc7ea8ad9 (patch) | |
tree | 1bf370a9050b306aefccd49f2e2ec3136e5f225a /test/test_pathoc.py | |
parent | d8b79e99829d307dd9cd8dc03872c90236ca173f (diff) | |
download | mitmproxy-f332674ce1fb0780a887406c0076b88cc7ea8ad9.tar.gz mitmproxy-f332674ce1fb0780a887406c0076b88cc7ea8ad9.tar.bz2 mitmproxy-f332674ce1fb0780a887406c0076b88cc7ea8ad9.zip |
100% unit tests
- Add SANs to pathod SSLConfig
- Fix tricky SSL establishment error test. Lets see if it's platform portable.
Diffstat (limited to 'test/test_pathoc.py')
-rw-r--r-- | test/test_pathoc.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py index 23b42994..ca67ff1f 100644 --- a/test/test_pathoc.py +++ b/test/test_pathoc.py @@ -78,7 +78,10 @@ class _TestDaemon: class TestDaemonSSL(_TestDaemon): ssl = True - ssloptions = pathod.SSLOptions(request_client_cert=True) + ssloptions = pathod.SSLOptions( + request_client_cert=True, + sans = ["test1.com", "test2.com"] + ) def test_sni(self): c = pathoc.Pathoc( |