dev-python/httpbin: Skip failing tests

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-05-20 15:05:07 +02:00
parent 54bed86a04
commit 24ff936b73

View File

@@ -36,3 +36,14 @@ PATCHES=(
)
distutils_enable_tests unittest
src_prepare() {
# a new version of flask or whatever converts relative redirects
# to absolute; this package is dead anyway, so just skip
# the relevant tests
sed -e 's:test_redirect:_&:' \
-e 's:test_relative:_&:' \
-i test_httpbin.py || die
distutils-r1_src_prepare
}