1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00
httpie-cli/tests
matthewhughes934 10246366da
Quieten ssl tests (#952)
* Add skip when required TLS version unsupported

Allow tests to skip, rather than fail from SSL errors with unsupported
TLS version, e.g. if Openssl is configured with MinProtocol higher than
the version being tested.

* Regenerate test certificate and key

Regenerate these with more secure settings for the sake of future
proofing, regenerate the key using RSA 4096 and sign the certificate
with SHA512.

This fixes test failures in tests/test_ssl.py when the user's OpenSSL
security level is set to a value greater than 1 and resolves issue #948

* Suppress SSL warnings in no verify tests
2020-08-06 22:24:03 +02:00
..
client_certs Quieten ssl tests (#952) 2020-08-06 22:24:03 +02:00
fixtures Added --show-redirects and --max-redirects 2016-02-29 14:12:09 +08:00
conftest.py Fix pytest configuration 2018-06-09 11:59:34 +02:00
README.rst Update links 2017-03-10 11:27:38 +01:00
test_auth_plugins.py Refactor built-in plugin registry to avoid circular imports 2020-05-26 10:07:34 +02:00
test_auth.py Added netrc support for auth plugins. 2020-06-16 11:05:00 +02:00
test_binary.py Make test_binary_suppresses_* deterministic 2019-08-29 09:46:17 +02:00
test_cli.py Add httpie.status 2019-09-16 13:26:18 +02:00
test_compress.py Refactor --compress tests 2019-08-29 11:46:08 +02:00
test_config.py Str env vars 2020-05-23 12:14:09 +02:00
test_defaults.py Change default JSON Accept to application/json, */*;q=0.5 2020-04-18 12:03:38 +02:00
test_docs.py Cleanup inline to-dos 2020-06-25 11:36:09 +02:00
test_downloads.py Add one-by-one processing of each HTTP request or response and --offline 2019-09-03 17:14:39 +02:00
test_errors.py PEP8 2019-12-02 17:46:40 +01:00
test_exit_status.py Add httpie.status 2019-09-16 13:26:18 +02:00
test_httpie.py Cleanup inline to-dos 2020-06-25 11:36:09 +02:00
test_output.py Cleanup 2020-06-16 13:01:48 +02:00
test_redirects.py Add httpie.status 2019-09-16 13:26:18 +02:00
test_regressions.py Update links 2017-03-10 11:27:38 +01:00
test_sessions.py Add test to test auth plugin reused in session (#938) 2020-07-10 12:48:26 +02:00
test_ssl.py Quieten ssl tests (#952) 2020-08-06 22:24:03 +02:00
test_stream.py Rename TestEnvironment to MockEnvironment to avoid pytest warnings 2017-12-28 18:17:48 +01:00
test_unicode.py Cleanup tests 2016-03-03 18:50:18 +08:00
test_uploads.py Custom file upload MIME type (#927) 2020-06-08 17:59:41 +02:00
test_windows.py Add one-by-one processing of each HTTP request or response and --offline 2019-09-03 17:14:39 +02:00
utils.py Use : instead of = in `--format-options 2020-05-28 14:24:15 +02:00

HTTPie Test Suite
=================


Please see `CONTRIBUTING`_.


.. _CONTRIBUTING: https://github.com/jakubroztocil/httpie/blob/master/CONTRIBUTING.rst