245cede2c2
cmd: Implement httpie plugins interface ( #1200 )
2021-11-30 11:12:51 +03:00
507514b795
Add workflow to test with pyOpenSSL active ( #1164 )
...
* Add workflow to test with pyOpenSSL active
Original patch by @gmelodie.
* Fix tests on Windows with Python 3.6
2021-09-23 10:37:23 +02:00
8374a9ed83
Review OSError exceptions handling ( #1080 )
...
- Replace obsolete `IOError` (Python 2) with `OSError`,
cf https://docs.python.org/3/library/exceptions.html#OSError .
- Improve `OSError` catches at different places, simplifying
the code.
2021-05-31 10:10:41 +02:00
264d45cdf5
Modernize the code base with f-strings in tests ( #1069 )
...
Simple concatenations were kept for readability purpose.
2021-05-26 14:09:38 +02:00
a3a08a9a22
Use relative imports ( #1057 )
...
* Use relative imports in test
* Use relative imports
* Add myself to contributors :)
2021-05-05 14:13:39 +02:00
2afdc958c6
Update URLs
2020-12-23 22:07:27 +01:00
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
14677bd25d
Cleanup inline to-dos
...
I.
2020-06-25 11:36:09 +02:00
49e71d252f
Fixed test_ciphers_none_can_be_selected
on OpenBSD
...
Thanks @juped!
2020-06-19 18:26:08 +02:00
d62d6a77d1
Add support for --ciphers ( #870 )
2020-05-23 13:26:06 +02:00
374c371ef1
Add httpie.status
2019-09-16 13:26:18 +02:00
bece3c77bb
Add one-by-one processing of each HTTP request or response and --offline
2019-09-03 17:14:39 +02:00
aba3b1ec01
Refactoring
2019-08-31 15:17:10 +02:00
b3d2c1876e
Python 2.7 support removal WIP
2019-08-29 08:53:56 +02:00
4dd9dbd314
fix test_ssl_version II
2019-08-29 08:14:19 +02:00
29df4cd4f3
fix test_ssl_version on pypy
2019-08-29 08:05:31 +02:00
b88e88d2e3
Fix tests for installation with pyOpenSSL #729
2018-11-14 16:10:08 +01:00
9776a6dea0
Support requests>=2.14.0
...
From that release onwards, `cert_verify` raises `IOError` [1].
1: https://github.com/kennethreitz/requests/commit/7d8b87c
2017-05-17 20:31:10 -03:00
7321b9fa4e
Add --verify true/false tests and CHANGELOG
2017-02-17 00:56:07 +01:00
25d1e8e418
Add Accept-Encoding: identity
for --download
...
#423
2016-03-07 11:46:59 +08:00
a6ebc44a48
Run tests against both HTTP and HTTPS
...
Some of the tests now use the `httpbin_both` fixture from pytest-httpbin.
Also, made httpbin's CA trusted by default and added `httpbin_secure_untrusted`
fixture to allow overriding that for particular tests.
2016-03-06 17:42:35 +08:00
dc4da527db
Added --ssl=<PROTOCOL_VERSION>
...
Closes #98
2016-03-02 12:12:05 +08:00
38e8ef14ec
Run positive tests first
...
Trying to debug failing SSL tests on Travis - kevin1024/pytest-httpbin#32
2016-03-02 10:35:40 +08:00
f6824f7ade
Cleanup
2016-03-02 02:53:23 +08:00
51c19cfe10
test_ssl.py: Remove skip failures on PyPy
...
Revert 985f65e
which skipped SSL tests that failed on PyPy because @kevin1024 fixed the problem in pytest-httpbin 0.0.6 (commit f38a312446
)
2015-02-15 21:42:34 -08:00
985f65ef52
Temporarily skip SSL tests on PyPy due to #308
2015-02-14 23:14:06 +01:00
5fbafc18bc
Added tests for client as well as server SSL certificate handling.
2015-01-23 23:55:03 +01:00