Michael Floering
deb7b747cc
Small fix for Python 2.6 compatibility.
...
Relates to #430 / #432 .
2016-01-22 18:46:36 -06:00
Michael Floering
018e1f68de
Merge remote-tracking branch 'upstream/master'
2016-01-22 18:40:53 -06:00
Michael Floering
ac69d4311b
add -A
as short arg for --auth-type
...
Addresses #430
comes with unit test
2016-01-22 18:37:30 -06:00
Luis San Martin
45df860124
PEP8 errors
2015-10-22 14:32:16 -03:00
Jakub Roztocil
2b51cb6687
Updated links II.
2015-07-03 18:55:45 +02:00
Jakub Roztocil
ca36f1de04
Handle empty passwords in URL credentials
...
Closes #242
2014-07-18 13:39:47 +02:00
Jakub Roztocil
2a72ae23d5
Run tests against local httpbin instance via pytest-httpbin.
2014-06-28 16:38:41 +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
87806acc56
Cleanup
2014-04-26 23:06:39 +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
3c2de34285
Improved auth tests.
2014-04-25 13:10:01 +02:00
Jakub Roztocil
af4aa3a761
Test improvements.
2014-04-25 12:18:35 +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
3cb124bba7
Cleanup
...
XX
2014-04-24 19:32:50 +02:00
Jakub Roztocil
6f28624134
Switched to @pytest.mark.skipif.
2014-04-24 15:17:23 +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