Marc Abramowitz
f855de16c2
Increase test coverage for error handling
2015-02-15 23:22:52 -08:00
Marc Abramowitz
7f8adad313
Print info about request on error
...
This can help in diagnosing certain issues. For example, if I were
trying to use a "http+unix" URL but I don't have #299 , then I'll get the
following:
[marca@marca-mac2 httpie]$ http http+unix://%2Ftmp%2Fprofilesvc.sock/status/pid
http: error: ConnectionError: ('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known'))
while doing GET request to URL: http://http+unix//%2Ftmp%2Fprofilesvc.sock/status/pid
Having the URL in the error message is super useful here so that I know an
extra `http://` is getting prepended and it's not doing what I expected.
2015-02-15 23:22:52 -08:00
Marc Abramowitz
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 https://github.com/kevin1024/pytest-httpbin/commit/f38a3124465925d9a2cf8d07c43a597f109d11ea )
2015-02-15 21:42:34 -08:00
Marc Abramowitz
dd7f1c4cce
tox.ini: Use pytest-httpbin>=0.0.6
...
This hopefully fixes SSL timeout errors.
Fixes #308
2015-02-15 20:33:57 -08:00
Marc Abramowitz
55fa975ae5
.travis.yml: sudo false for Docker containers
...
Enables new Docker container infrastructure.
2015-02-10 07:41:38 -08:00
Marc Abramowitz
fbd44640e6
.travis.yml: Only do coveralls on newest python
...
Testing theory that it has to do with different python version subjobs
completing in different orders and the last one wins.
2015-02-10 07:37:03 -08:00
Marc Abramowitz
86ebb9b741
compat.py: Add pragma no covers
...
Cuz this is a lot of version-specific stuff and it can be confusing to have different coverage per version, especially with coveralls.
2015-02-10 06:54:59 -08:00
Marc Abramowitz
873102d5eb
Mark test_session_unicode as xfail
...
There are known problems with unicode in headers.
See https://github.com/jakubroztocil/httpie/issues/282
2015-02-10 06:52:51 -08:00
Marc Abramowitz
17358be1ae
README.rst: suppor => support
2015-01-31 07:01:54 -08:00
Marc Abramowitz
b3ea273a21
Add "pypy" to .travis.yml
2012-06-13 07:36:51 -07:00
Marc Abramowitz
0d129d5f69
Add tox.ini for tox ( http://tox.testrun.org/ )
2012-06-13 07:18:12 -07:00
Marc Abramowitz
1388206f1a
Fix path to tests.py in setup.py to make python setup.py test work
2012-06-13 07:18:11 -07:00