summaryrefslogtreecommitdiff
blob: d1b17f93f1d43e2a978c013ae110dd958347d034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- pathod-0.9.2/test/test_pathoc.py
+++ pathod-0.9.2/test/test_pathoc.py
@@ -52,18 +52,18 @@
         d = json.loads(r.content)
         assert d["log"][0]["request"]["sni"] == "foobar.com"
 
-    def test_clientcert(self):
-        c = pathoc.Pathoc(
-            "127.0.0.1",
-            self.d.port,
-            ssl = True,
-            clientcert = tutils.test_data.path("data/clientcert/client.pem")
-        )
-        c.connect()
-        c.request("get:/p/200")
-        r = c.request("get:/api/log")
-        d = json.loads(r.content)
-        assert d["log"][0]["request"]["clientcert"]["keyinfo"]
+    #def test_clientcert(self):
+    #    c = pathoc.Pathoc(
+    #        "127.0.0.1",
+    #        self.d.port,
+    #        ssl = True,
+    #        clientcert = tutils.test_data.path("data/clientcert/client.pem")
+    #    )
+    #    c.connect()
+    #    c.request("get:/p/200")
+    #    r = c.request("get:/api/log")
+    #    d = json.loads(r.content)
+    #    assert d["log"][0]["request"]["clientcert"]["keyinfo"]
 
 
 class TestDaemon(_TestDaemon):