1
0
mirror of https://github.com/httpie/cli.git synced 2026-06-20 11:32:56 +02:00

Generate default ciphers using approach from #1501

This commit is contained in:
Jakub Roztocil
2023-05-19 22:26:33 +02:00
parent 8e56e9fc64
commit fcd3f7ece6
3 changed files with 16 additions and 45 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import urllib3
from unittest import mock
from httpie.ssl_ import AVAILABLE_SSL_VERSION_ARG_MAPPING, DEFAULT_SSL_CIPHERS
from httpie.ssl_ import AVAILABLE_SSL_VERSION_ARG_MAPPING, DEFAULT_SSL_CIPHERS_STRING
from httpie.status import ExitStatus
from .utils import HTTP_OK, TESTS_ROOT, IS_PYOPENSSL, http
@@ -146,7 +146,7 @@ def test_ciphers(httpbin_secure):
r = http(
httpbin_secure.url + '/get',
'--ciphers',
DEFAULT_SSL_CIPHERS,
DEFAULT_SSL_CIPHERS_STRING,
)
assert HTTP_OK in r