Martin Bašti
f38f717539
Fix pytest 5.0.0 compatibility
...
pytest.raises() returns exception info not the exception itself. They
changed implementation of exception info, so now .value property must be
used to get the exception instance and have proper output from str()
method.
https://github.com/pytest-dev/pytest/issues/5412
Signed-off-by: Martin Bašti <mbasti@redhat.com>
2019-07-17 18:56:18 +03:00
Hasan Ramezani
2b07f2be28
Rewrite parse_address util and add one test
2019-03-16 15:07:53 -07:00
Florian Apolloner
ee7af1247b
Added support to --bind to open file descriptors ( #1809 )
...
Fixes #1107
2018-11-16 20:21:13 +03:00
Hugo
e974f30517
Drop support for Python 2
...
Co-Authored-By: Dustin Ingram <di@users.noreply.github.com>
Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
2018-08-01 15:31:17 +03:00
Berker Peksag
76eaa0805b
Fix various warnings and errors reported by pylint
2018-01-11 09:59:31 +03:00
YuppY
5953148573
Do not strip leading slash from path ( #1511 )
...
Fixes #1512
2017-12-28 11:32:47 +03:00
Hasan Ramezani
70fd6193f6
Add some tests for to_bytestring util
2017-12-11 22:50:06 +03:30
Juan Julián Merelo Guervós
6ba2ebe545
Make "failed to find application" more informative ( #1648 )
...
Co-Authored-By: Luis Liñán Villafranca <luislivilla@gmail.com>
Fixes #1647
2017-11-24 10:42:03 +03:00
Hasan Ramezani
595ca263dd
Add tests for util.{http_date,is_ipv6,warn} ( #1630 )
2017-10-22 21:20:19 +03:00
Hasan Ramezani
0ceb00e4ad
Improve test coverage of util.parse_address() ( #1629 )
2017-10-22 19:55:44 +03:00
Hasan Ramezani
81efa40da7
Improve parsing of 'unix://' addresses in parse_address ( #1623 )
2017-10-16 09:44:00 +03:00