11import os
22import sys
3+ import pytest
34from test import TestBase
45from unittest import skip
56
@@ -22,6 +23,7 @@ def test_fail_no_property_certificate(self):
2223 comp .get_request ()
2324 raise comp .property_util .errors [0 ]
2425
26+ @pytest .mark .skip ("badssl failure, need updates" )
2527 def test_certificate_available (self ):
2628 filename = f"{ http_base } /no-password.http"
2729 cert_file = f"{ cert_base } /no-password.pem"
@@ -41,6 +43,7 @@ def test_certificate_available(self):
4143 200 , resp_200 .status_code , "when cert supplied, it should return 200"
4244 )
4345
46+ @pytest .mark .skip ("badssl failure, need updates" )
4447 def test_certificate_available2 (self ):
4548 # insecure is added just to test curl output
4649 filename = f"{ http_base } /no-password.http"
@@ -63,6 +66,7 @@ def test_certificate_available2(self):
6366 self .assertTrue (req_comp2 .http .certificate , "certificate should be available" )
6467 self .assertEqual (200 , resp_200 .status_code , "with cert, status_code ==200" )
6568
69+ @pytest .mark .skip ("badssl failure, need updates" )
6670 def test_p12 (self ):
6771 filename = f"{ http_base } /no-password.http"
6872 p12 = f"{ cert_base } /badssl.com-client.p12"
@@ -75,6 +79,7 @@ def test_p12(self):
7579 self .assertTrue (req_comp2 .http .certificate , "certificate should be available" )
7680 self .assertEqual (200 , resp_200 .status_code , "with cert, status_code ==200" )
7781
82+ @pytest .mark .skip ("badssl failure, need updates" )
7883 def test_p12_curl (self ):
7984 filename = f"{ http_base } /no-password.http"
8085 p12 = f"{ cert_base } /badssl.com-client.p12"
0 commit comments