Jakub Roztocil
22c993bab8
Merge branch 'fix-268' of https://github.com/asnelzin/httpie into asnelzin-fix-268
2015-01-23 21:45:09 +01:00
Jakub Roztocil
b2ec4f797f
Exit with 0 for --version and --help ( closes #293 ).
2015-01-19 15:39:46 +01:00
Alexander Nelzin
a2b12f75ea
Fixed and added test for JSON properties order.
2014-11-13 23:56:05 +03:00
Jakub Roztocil
2a72ae23d5
Run tests against local httpbin instance via pytest-httpbin.
2014-06-28 16:38:41 +02:00
Jakub Roztocil
d9eca19b8f
New URL.
2014-05-05 21:17:23 +02:00
Jakub Roztocil
2aa53e4be3
Avoid “__init__.py” files in test directories.
...
As recommended here:
https://pytest.org/latest/goodpractises.html
2014-04-28 11:29:41 +02:00
Jakub Roztocil
467d126b6c
Python 3 unicode fixes.
2014-04-26 17:35:26 +02:00
Jakub Roztocil
15e62ad26d
Implemented more robust unicode handling.
...
* Immediatelly convert all args from `bytes` to `str`.
* Added `Environment.stdin_encoding` and `Environment.stdout_encoding`
* Allow unicode characters in HTTP headers and basic auth credentials
by encoding them using UTF8 instead of latin1 (#212 ).
2014-04-26 15:07:31 +02:00
Jakub Roztocil
27faf06327
Removed last dependencies on unittest. All tests are pytest-only.
2014-04-25 11:39:59 +02:00
Jakub Roztocil
f02169ea71
Added Python 2.6 compatible OrderedDict
...
To preserver ordr of headers, parameters, etc.
2014-04-24 19:57:19 +02:00
Jakub Roztocil
e5d758e4ce
More tests.
2014-04-24 19:32:55 +02:00
Jakub Roztocil
bdea7be456
Added tests for --debug and --help.
2014-04-24 19:32:55 +02:00
Jakub Roztocil
887f70f595
Added CONTRIBUTING.rst.
2014-04-24 19:32:55 +02:00
Jakub Roztocil
3cb124bba7
Cleanup
...
XX
2014-04-24 19:32:50 +02:00
Jakub Roztocil
941c0a8c3c
Moved fixture constants to tests.fixtures.
2014-04-24 15:17:04 +02:00
Jakub Roztocil
b880e996d0
Converted all unittest asserts to plain, pytest-powered asserts.
2014-04-24 14:58:15 +02:00
Jakub Roztocil
6071fff4af
Refactored tests into smaller modules.
2014-04-24 14:07:31 +02:00