From a4b3946fbf00afc0e5e27dc7486d115da95e6397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 16 Jul 2021 22:29:04 +0000 Subject: [PATCH] CI tests: Skip failing tests of python-httpbin The tests are failing on Fedora 35+ for reasons beyond pyproject-rpm-macros. Related: rhbz#1950291 --- tests/python-httpbin.spec | 2 ++ 1 file changed, 2 insertions(+) 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