mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/rosdistro: disable tests requiring network access
Closes: https://bugs.gentoo.org/643458 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
@@ -43,6 +43,12 @@ DEPEND="${RDEPEND}
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/yaml.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# Requires network access
|
||||
rm -f test/test_manifest_providers.py
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests --with-xunit test || die
|
||||
}
|
||||
|
||||
@@ -41,6 +41,13 @@ DEPEND="${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/yaml.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# Requires network access
|
||||
rm -f test/test_manifest_providers.py
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests --with-xunit test || die
|
||||
|
||||
Reference in New Issue
Block a user