New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.19.1: pytest based test suite is failing #192
Comments
I'd like to learn how to reproduce this build. There is This Please post
|
I'm using my own duistribution but it is relativelly close to fedora rawhide.😊
As I'm packaging now all python modules for my distro I'm trying to add to every possible package execute something in If pytest is woirking and if developer want to habve some isolation from some system installed pytest extensions/plugins which may show some false results the bezs metjot of such isolation is use tox.
Looks like that may be missing step on test suite execution Thx. |
generate-tls wasn't meant to be run on every test execution, but it may help to find root of problem with CA_MD_TOO_WEAK |
generate certs did not helped .. |
Do you want PR for below patch? Fixes pytest warning
../../../../../usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183
/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead.
self.issue_config_time_warning(
https://github.com/pytest-dev/pytest/issues/8668
--- a/setup.cfg~ 2021-03-30 17:03:13.000000000 +0100
+++ b/setup.cfg 2021-05-13 19:44:03.540814830 +0100
@@ -20,7 +20,7 @@
--cov=httplib2
--noconftest
--showlocals
- --strict
+ --strict-markers
--tb=short
--timeout=17
--verbose
|
Yes please. Thank you.
…On Thu, May 13, 2021, 21:52 Tomasz Kłoczko ***@***.***> wrote:
Do you want PR for below patch?
Fixes pytest warning
../../../../../usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183
/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead.
self.issue_config_time_warning(
pytest-dev/pytest#8668
--- a/setup.cfg~ 2021-03-30 17:03:13.000000000 +0100+++ b/setup.cfg 2021-05-13 19:44:03.540814830 +0100@@ -20,7 +20,7 @@
--cov=httplib2
--noconftest
--showlocals- --strict+ --strict-markers
--tb=short
--timeout=17
--verbose
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#192 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAGTMJ5TRXEGDGGVSB3Z73TNQNVVANCNFSM44GPMWIA>
.
|
Done :) |
FTR, recerting fixed After recerting, I get the following test failures:
The two last are #170, I think. The middle two probably indicate that fingerprint needs to be updated somewhere after recerting. However, the first two look valid problems (incompatibility with OpenSSL 1.1.1l?) |
I'm using openssl 3.0.0. |
Ping. |
Also, I've just noticed that the tests fail with CPython but not with PyPy3, so it probably has something to do with CPython switching to more secure TLS defaults. |
Newer Python versions have stronger TLS defaults, and therefore reject the certificates currently used by the test suite. Regenerate them to fix most of the test failures. This also requires bumping the protocol versions used to test min/max version attributes, as Python no longer allows TLS<1.2. Unfortunately, test_min_tls_version still fails and I wasn't able to figure out a way to fix it. Issue httplib2#192
@kloczek please check out new master, |
Just tested 0.20.3 and things looks better because only three units seems are failing now :P + PYTHONPATH=/data/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/data/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -q
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-0.13.1
benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
Using --randomly-seed=2128044070
rootdir: /data/home/tkloczko/rpmbuild/BUILD/httplib2-0.20.3, configfile: setup.cfg
plugins: shutil-1.7.0, virtualenv-1.7.0, mock-3.6.1, cov-2.12.1, anyio-3.3.4, flaky-3.7.0, tornasync-0.6.0.post2, console-scripts-1.2.0, trio-0.7.0, timeout-2.0.1, asyncio-0.16.0, freezegun-0.4.2, flake8-1.0.7, pyfakefs-4.5.3, benchmark-3.4.1, profiling-1.7.0, datadir-1.3.1, regressions-2.2.0, randomly-3.8.0, rerunfailures-9.1.1, yagot-0.5.0, requests-mock-1.9.3, subtests-0.5.0, easy-server-0.8.0, django-4.5.2, forked-1.4.0, ordering-0.6, xdist-2.5.0, hypothesis-6.31.4
timeout: 17.0s
timeout method: signal
timeout func_only: False
collected 491 items
tests/test_cacerts_from_env.py ..... [ 1%]
tests/test_proxy.py ..F..........F... [ 4%]
tests/test_cache.py ...................................s.. [ 12%]
tests/test_test_helpers.py ......................................................................................................................................... [ 40%]
....................................................................................................................................................... [ 70%]
tests/test_https.py .......F......... [ 74%]
tests/test_uri.py ................. [ 77%]
tests/test_other.py ......X........... [ 81%]
tests/test_auth.py ............s...ss.....................s.......... [ 91%]
tests/test_http.py ...s....s....................s....x [ 98%]
tests/test_encoding.py ...... [100%]
================================================================================= FAILURES =================================================================================
________________________________________________________ test_server_not_found_error_is_raised_for_invalid_hostname ________________________________________________________
/usr/lib/python3.8/site-packages/socks.py:787: in connect
super(socksocket, self).connect(proxy_addr)
__class__ = <class 'socks.socksocket'>
catch_errors = None
dest_addr = 'invalid.hostname.foo.bar'
dest_pair = ('invalid.hostname.foo.bar', 80)
dest_port = 80
msg = 'Error connecting to HTTP proxy 255.255.255.255:8001'
password = None
printable_type = 'HTTP'
proxy_addr = '255.255.255.255'
proxy_port = 8001
proxy_server = '255.255.255.255:8001'
proxy_type = 3
rdns = True
self = <socks.socksocket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>
username = None
/usr/lib64/python3.8/unittest/mock.py:1081: in __call__
return self._mock_call(*args, **kwargs)
args = (('255.255.255.255', 8001),)
kwargs = {}
self = <MagicMock name='connect' spec='method_descriptor' id='140190693781360'>
/usr/lib64/python3.8/unittest/mock.py:1085: in _mock_call
return self._execute_mock_call(*args, **kwargs)
args = (('255.255.255.255', 8001),)
kwargs = {}
self = <MagicMock name='connect' spec='method_descriptor' id='140190693781360'>
/usr/lib64/python3.8/unittest/mock.py:1146: in _execute_mock_call
result = effect(*args, **kwargs)
args = (('255.255.255.255', 8001),)
effect = <function _raise_name_not_known_error at 0x7f80b0de3280>
kwargs = {}
self = <MagicMock name='connect' spec='method_descriptor' id='140190693781360'>
tests/test_proxy.py:24: in _raise_name_not_known_error
raise socket.gaierror(socket.EAI_NONAME, "Name or service not known")
E socket.gaierror: [Errno -2] Name or service not known
args = (('255.255.255.255', 8001),)
kwargs = {}
During handling of the above exception, another exception occurred:
tests/test_proxy.py:140: in test_server_not_found_error_is_raised_for_invalid_hostname
http.request("http://invalid.hostname.foo.bar/", "GET")
http = <httplib2.Http object at 0x7f811717c3a0>
mock_socket_connect = <MagicMock name='connect' spec='method_descriptor' id='140190693781360'>
../../BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/__init__.py:1721: in request
(response, content) = self._request(
authority = 'invalid.hostname.foo.bar'
body = None
cached_value = None
cachekey = None
cc = {}
certs = []
conn = <httplib2.HTTPConnectionWithTimeout object at 0x7f811717cf70>
conn_key = 'http:invalid.hostname.foo.bar'
connection_type = <class 'httplib2.HTTPConnectionWithTimeout'>
defrag_uri = 'http://invalid.hostname.foo.bar/'
headers = {'accept-encoding': 'gzip, deflate', 'user-agent': 'Python-httplib2/0.20.3 (gzip)'}
info = <email.message.Message object at 0x7f811717cee0>
is_timeout = False
method = 'GET'
redirections = 5
request_uri = '/'
scheme = 'http'
self = <httplib2.Http object at 0x7f811717c3a0>
uri = 'http://invalid.hostname.foo.bar/'
../../BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/__init__.py:1441: in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
absolute_uri = 'http://invalid.hostname.foo.bar/'
auth = None
auths = []
body = None
cachekey = None
conn = <httplib2.HTTPConnectionWithTimeout object at 0x7f811717cf70>
headers = {'accept-encoding': 'gzip, deflate', 'user-agent': 'Python-httplib2/0.20.3 (gzip)'}
host = 'invalid.hostname.foo.bar'
method = 'GET'
redirections = 5
request_uri = '/'
self = <httplib2.Http object at 0x7f811717c3a0>
../../BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/__init__.py:1363: in _conn_request
conn.connect()
body = None
conn = <httplib2.HTTPConnectionWithTimeout object at 0x7f811717cf70>
errno_ = -2
headers = {'accept-encoding': 'gzip, deflate', 'user-agent': 'Python-httplib2/0.20.3 (gzip)'}
i = 1
method = 'GET'
request_uri = '/'
seen_bad_status_line = False
self = <httplib2.Http object at 0x7f811717c3a0>
../../BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/__init__.py:1063: in connect
raise socket_err
af = <AddressFamily.AF_INET: 2>
canonname = ''
host = '255.255.255.255'
port = 8001
proto = 6
proxy_headers = None
proxy_host = '255.255.255.255'
proxy_pass = None
proxy_port = 8001
proxy_rdns = True
proxy_type = 3
proxy_user = None
res = (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('255.255.255.255', 8001))
sa = ('255.255.255.255', 8001)
self = <httplib2.HTTPConnectionWithTimeout object at 0x7f811717cf70>
socket_err = ProxyConnectionError()
socktype = <SocketKind.SOCK_STREAM: 1>
use_proxy = True
../../BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/__init__.py:1046: in connect
self.sock.connect((self.host, self.port) + sa[2:])
af = <AddressFamily.AF_INET: 2>
canonname = ''
host = '255.255.255.255'
port = 8001
proto = 6
proxy_headers = None
proxy_host = '255.255.255.255'
proxy_pass = None
proxy_port = 8001
proxy_rdns = True
proxy_type = 3
proxy_user = None
res = (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('255.255.255.255', 8001))
sa = ('255.255.255.255', 8001)
self = <httplib2.HTTPConnectionWithTimeout object at 0x7f811717cf70>
socket_err = ProxyConnectionError()
socktype = <SocketKind.SOCK_STREAM: 1>
use_proxy = True
/usr/lib/python3.8/site-packages/socks.py:47: in wrapper
return function(*args, **kwargs)
_is_blocking = None
args = (<socks.socksocket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>, ('invalid.hostname.foo.bar', 80))
function = <function socksocket.connect at 0x7f80b17c70d0>
kwargs = {}
self = <socks.socksocket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>
/usr/lib/python3.8/site-packages/socks.py:800: in connect
raise ProxyConnectionError(msg, error)
E socks.ProxyConnectionError: Error connecting to HTTP proxy 255.255.255.255:8001: [Errno -2] Name or service not known
__class__ = <class 'socks.socksocket'>
catch_errors = None
dest_addr = 'invalid.hostname.foo.bar'
dest_pair = ('invalid.hostname.foo.bar', 80)
dest_port = 80
msg = 'Error connecting to HTTP proxy 255.255.255.255:8001'
password = None
printable_type = 'HTTP'
proxy_addr = '255.255.255.255'
proxy_port = 8001
proxy_server = '255.255.255.255:8001'
proxy_type = 3
rdns = True
self = <socks.socksocket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>
username = None
_____________________________________________________________________________ test_socks5_auth _____________________________________________________________________________
tests/test_proxy.py:198: in test_socks5_auth
with tests.assert_raises(httplib2.socks.Socks5AuthError):
E AttributeError: module 'socks' has no attribute 'Socks5AuthError'
http = <httplib2.Http object at 0x7f80b05cf850>
proxy_conn = <function test_socks5_auth.<locals>.proxy_conn at 0x7f80b0a4a4c0>
proxy_info = <ProxyInfo type=2 host:port=localhost:38837 rdns=True user=user_str headers=None>
uri = 'http://localhost:38837/'
uri_parsed = ParseResult(scheme='http', netloc='localhost:38837', path='/', params='', query='', fragment='')
____________________________________________________________________ test_client_cert_password_verified ____________________________________________________________________
tests/test_https.py:151: in test_client_cert_password_verified
expect_serial = tests.x509_serial(tests.CLIENT_ENCRYPTED_PEM) if tests.x509 else 16332984194609126128
cert_log = [{'issuer': ((('countryName', 'ZZ'),), (('stateOrProvinceName', '.'),), (('localityName', '.'),), (('organizationName'...tAfter': 'Oct 1 23:57:26 2031 GMT', 'notBefore': 'Oct 3 23:57:26 2021 GMT', 'serialNumber': 'E2AA6A96D1BF1AF0', ...}]
handler = <function test_client_cert_password_verified.<locals>.handler at 0x7f80b09c6820>
http = <httplib2.Http object at 0x7f80b0995070>
setup_tls = <function test_client_cert_password_verified.<locals>.setup_tls at 0x7f80b09c63a0>
uri = 'https://localhost:38501/'
uri_parsed = ParseResult(scheme='https', netloc='localhost:38501', path='/', params='', query='', fragment='')
tests/__init__.py:786: in x509_serial
cert = x509.load_pem_x509_certificate(pem)
f = <_io.BufferedReader name='/data/home/tkloczko/rpmbuild/BUILD/httplib2-0.20.3/tests/tls/client_encrypted.pem'>
path = '/data/home/tkloczko/rpmbuild/BUILD/httplib2-0.20.3/tests/tls/client_encrypted.pem'
pem = b'serial=E2AA6A96D1BF1AF0\nSHA1 Fingerprint=FB:42:16:53:02:8D:EA:F9:66:DB:BD:88:37:E1:93:7E:97:21:29:23\n-----BEGIN CE...LOQ4D+jK8/fcV9bhBuH\nLzBJ4gtPwUnvYqsaiIAeGi2EVllW0Ka+aTTzM1Yascl2q9WROvutAT0zz0M6smpO\n-----END RSA PRIVATE KEY-----\n'
/usr/lib64/python3.8/site-packages/cryptography/x509/base.py:531: in load_pem_x509_certificate
return rust_x509.load_pem_x509_certificate(data)
E ValueError: Unable to load PEM file. See https://cryptography.io/en/latest/faq.html#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidByte(4, 45))
backend = None
data = b'serial=E2AA6A96D1BF1AF0\nSHA1 Fingerprint=FB:42:16:53:02:8D:EA:F9:66:DB:BD:88:37:E1:93:7E:97:21:29:23\n-----BEGIN CE...LOQ4D+jK8/fcV9bhBuH\nLzBJ4gtPwUnvYqsaiIAeGi2EVllW0Ka+aTTzM1Yascl2q9WROvutAT0zz0M6smpO\n-----END RSA PRIVATE KEY-----\n'
---------- coverage: platform linux, python 3.8.12-final-0 -----------
Name Stmts Miss Cover
------------------------------------------------------------------------------------------------------------------------------------------------------
/data/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/__init__.py 919 146 84%
/data/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/auth.py 40 5 88%
/data/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/certs.py 30 4 87%
/data/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/error.py 25 0 100%
/data/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/iri2uri.py 41 15 63%
/data/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.3-2.fc35.x86_64/usr/lib/python3.8/site-packages/httplib2/socks.py 244 244 0%
------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 1299 414 68%
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_cache.py:48: was commented in legacy code
SKIPPED [4] tests/test_auth.py:249: benchmark disabled by default, set env httplib2_test_bench=1
SKIPPED [1] tests/test_http.py:240: FIXME: timeout on CI py27 and pypy, works elsewhere
SKIPPED [1] tests/test_http.py:524: was commented in legacy code
SKIPPED [1] tests/test_http.py:382: FIXME: timeout on CI py27 and pypy, works elsewhere
XFAIL tests/test_http.py::test_get_301_no_redirect
FIXME: 301 cache works only with follow_redirects, should work regardless
XPASS tests/test_other.py::test_timeout_global FIXME: for unknown reason global timeout test fails in Python3 with response 200
FAILED tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname - socks.ProxyConnectionError: Error connecting to HTTP proxy 255.255.255.255:8001:...
FAILED tests/test_proxy.py::test_socks5_auth - AttributeError: module 'socks' has no attribute 'Socks5AuthError'
FAILED tests/test_https.py::test_client_cert_password_verified - ValueError: Unable to load PEM file. See https://cryptography.io/en/latest/faq.html#why-can-t-i-import-m...
===================================================== 3 failed, 478 passed, 8 skipped, 1 xfailed, 1 xpassed in 14.89s ====================================================== |
gentle ping 😃 |
After add + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.4-9.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-httplib2-0.20.4-9.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' -q
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.16, pytest-7.2.1, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/httplib2-0.20.4, configfile: setup.cfg
plugins: timeout-2.1.0
timeout: 17.0s
timeout method: signal
timeout func_only: False
collected 492 items
tests/test_auth.py .......................................ssss....... [ 10%]
tests/test_cacerts_from_env.py ..... [ 11%]
tests/test_cache.py ...s.................................. [ 18%]
tests/test_encoding.py ...... [ 20%]
tests/test_http.py .................x.......s......... [ 27%]
tests/test_https.py .............F... [ 30%]
tests/test_other.py .....X............ [ 34%]
tests/test_proxy.py .................. [ 38%]
tests/test_test_helpers.py .......................................................................................................................................................... [ 69%]
...................................................................................................................................... [ 96%]
tests/test_uri.py ................. [100%]
========================================================================================= FAILURES ==========================================================================================
____________________________________________________________________________ test_client_cert_password_verified _____________________________________________________________________________
tests/test_https.py:151: in test_client_cert_password_verified
expect_serial = tests.x509_serial(tests.CLIENT_ENCRYPTED_PEM) if tests.x509 else 16332984194609126128
cert_log = [{'issuer': ((('countryName', 'ZZ'),), (('stateOrProvinceName', '.'),), (('localityName', '.'),), (('organizationName'...tAfter': 'Oct 1 23:57:26 2031 GMT', 'notBefore': 'Oct 3 23:57:26 2021 GMT', 'serialNumber': 'E2AA6A96D1BF1AF0', ...}]
handler = <function test_client_cert_password_verified.<locals>.handler at 0x7f9d91e35310>
http = <httplib2.Http object at 0x7f9d9119aca0>
setup_tls = <function test_client_cert_password_verified.<locals>.setup_tls at 0x7f9d91e35b80>
uri = 'https://localhost:40133/'
uri_parsed = ParseResult(scheme='https', netloc='localhost:40133', path='/', params='', query='', fragment='')
tests/__init__.py:786: in x509_serial
cert = x509.load_pem_x509_certificate(pem)
f = <_io.BufferedReader name='/home/tkloczko/rpmbuild/BUILD/httplib2-0.20.4/tests/tls/client_encrypted.pem'>
path = '/home/tkloczko/rpmbuild/BUILD/httplib2-0.20.4/tests/tls/client_encrypted.pem'
pem = b'serial=E2AA6A96D1BF1AF0\nSHA1 Fingerprint=FB:42:16:53:02:8D:EA:F9:66:DB:BD:88:37:E1:93:7E:97:21:29:23\n-----BEGIN CE...LOQ4D+jK8/fcV9bhBuH\nLzBJ4gtPwUnvYqsaiIAeGi2EVllW0Ka+aTTzM1Yascl2q9WROvutAT0zz0M6smpO\n-----END RSA PRIVATE KEY-----\n'
/usr/lib64/python3.8/site-packages/cryptography/x509/base.py:521: in load_pem_x509_certificate
return rust_x509.load_pem_x509_certificate(data)
E ValueError: Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidByte(4, 45))
backend = None
data = b'serial=E2AA6A96D1BF1AF0\nSHA1 Fingerprint=FB:42:16:53:02:8D:EA:F9:66:DB:BD:88:37:E1:93:7E:97:21:29:23\n-----BEGIN CE...LOQ4D+jK8/fcV9bhBuH\nLzBJ4gtPwUnvYqsaiIAeGi2EVllW0Ka+aTTzM1Yascl2q9WROvutAT0zz0M6smpO\n-----END RSA PRIVATE KEY-----\n'
================================================================================== short test summary info ==================================================================================
SKIPPED [4] tests/test_auth.py:249: benchmark disabled by default, set env httplib2_test_bench=1
SKIPPED [1] tests/test_cache.py:48: was commented in legacy code
SKIPPED [1] tests/test_http.py:525: was commented in legacy code
XFAIL tests/test_http.py::test_get_301_no_redirect - FIXME: 301 cache works only with follow_redirects, should work regardless
XPASS tests/test_other.py::test_timeout_global FIXME: for unknown reason global timeout test fails in Python3 with response 200
FAILED tests/test_https.py::test_client_cert_password_verified - ValueError: Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidByte(4, 45))
============================================================== 1 failed, 483 passed, 6 skipped, 1 xfailed, 1 xpassed in 26.81s ============================================================== |
The text was updated successfully, but these errors were encountered: