1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00

Added test_verbose_implies_all

This commit is contained in:
Jakub Roztocil 2016-03-09 21:58:11 +08:00
parent 8881ebf033
commit 76e15b227c

View File

@ -45,6 +45,13 @@ class TestVerboseFlag:
assert HTTP_OK in r
assert '"baz": "bar"' in r
def test_verbose_implies_all(self, httpbin):
r = http('--verbose', '--follow', httpbin + '/redirect/1')
assert 'GET /redirect/1 HTTP/1.1' in r
assert 'HTTP/1.1 302 FOUND' in r
assert 'GET /get HTTP/1.1' in r
assert HTTP_OK in r
class TestColors: