diff --git a/tests/python-httpbin.spec b/tests/python-httpbin.spec index fde9d5b..d93ba10 100644 --- a/tests/python-httpbin.spec +++ b/tests/python-httpbin.spec @@ -30,6 +30,8 @@ sed -i s/brotlipy/brotli/ setup.py # update test_httpbin.py to reflect new behavior of werkzeug sed -i /Content-Length/d test_httpbin.py +# https://github.com/postmanlabs/httpbin/issues/647 +sed -Ei 's/\bdef (test_(relative_)?redirect_(to_post|n_(equals_to|higher_than)_1))/def no\1/' test_httpbin.py %generate_buildrequires %pyproject_buildrequires -t