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:
Alexis Ballier
2019-12-11 16:14:47 +01:00
parent faf2176f3c
commit d47dae5503
2 changed files with 13 additions and 0 deletions

View File

@@ -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
}

View File

@@ -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