Improved --debug output

This commit is contained in:
Jakub Roztocil
2016-03-05 01:42:13 +08:00
parent 4e574e6b8e
commit bb49a1f979
7 changed files with 42 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ def test_error_traceback(get_response):
exc.request = Request(method='GET', url='http://www.google.com')
get_response.side_effect = exc
with raises(ConnectionError):
ret = main(['--ignore-stdin', '--traceback', 'www.google.com'])
main(['--ignore-stdin', '--traceback', 'www.google.com'])
@mock.patch('httpie.core.get_response')