From f332674ce1fb0780a887406c0076b88cc7ea8ad9 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 19 Apr 2015 10:43:16 +1200 Subject: 100% unit tests - Add SANs to pathod SSLConfig - Fix tricky SSL establishment error test. Lets see if it's platform portable. --- test/test_pathoc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/test_pathoc.py') 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( -- cgit v1.2.3