mirror of
https://github.com/httpie/cli.git
synced 2024-11-29 03:03:44 +01:00
Fixed test_ciphers_none_can_be_selected
on OpenBSD
Thanks @juped!
This commit is contained in:
parent
d6f25b1017
commit
49e71d252f
@ -133,4 +133,9 @@ def test_ciphers_none_can_be_selected(httpbin_secure):
|
|||||||
tolerate_error_exit_status=True,
|
tolerate_error_exit_status=True,
|
||||||
)
|
)
|
||||||
assert r.exit_status == ExitStatus.ERROR
|
assert r.exit_status == ExitStatus.ERROR
|
||||||
assert 'No cipher can be selected.' in r.stderr
|
# Linux/macOS:
|
||||||
|
# http: error: SSLError: ('No cipher can be selected.',)
|
||||||
|
# OpenBSD:
|
||||||
|
# <https://marc.info/?l=openbsd-ports&m=159251948515635&w=2>
|
||||||
|
# http: error: Error: [('SSL routines', '(UNKNOWN)SSL_internal', 'no cipher match')]
|
||||||
|
assert 'cipher' in r.stderr
|
||||||
|
Loading…
Reference in New Issue
Block a user