From 76e15b227cd4136d2748ac0c3aca08726f5d8cd8 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Wed, 9 Mar 2016 21:58:11 +0800 Subject: [PATCH] Added test_verbose_implies_all --- tests/test_output.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_output.py b/tests/test_output.py index d20abade..d4ac560c 100644 --- a/tests/test_output.py +++ b/tests/test_output.py @@ -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: