diff --git a/tests/test_redirects.py b/tests/test_redirects.py index 4f533832..176654c4 100644 --- a/tests/test_redirects.py +++ b/tests/test_redirects.py @@ -19,6 +19,13 @@ def test_follow_without_all_redirects_hidden(httpbin, follow_flag): assert HTTP_OK in r +@pytest.mark.xfail(True, reason="https://github.com/httpie/httpie/issues/1082") +def test_follow_output_options_used_for_redirects(httpbin): + r = http('--follow', '--print=H', httpbin.url + '/redirect/2') + assert r.count('GET /') == 1 + assert HTTP_OK not in r + + def test_follow_all_output_options_used_for_redirects(httpbin): r = http('--check-status', '--follow',