mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/httpbin: Skip failing tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user