mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 01:53:25 -04:00
dev-python/manhole: disable failing tests
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
@@ -19,12 +18,10 @@ HOMEPAGE="
|
||||
SRC_URI="https://github.com/ionelmc/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
#majority of test works but I can't exclude the failing one easily
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@@ -40,13 +37,18 @@ DEPEND="
|
||||
|
||||
S="${WORKDIR}/${MYPN}-${PV}"
|
||||
|
||||
#src_prepare() {
|
||||
# #wsgi test require network
|
||||
# rm tests/wsgi.py || die
|
||||
# default
|
||||
#}
|
||||
python_test() {
|
||||
pytest -vv \
|
||||
--deselect tests/test_manhole.py::test_non_daemon_connection \
|
||||
--deselect tests/test_manhole.py::test_daemon_connection \
|
||||
--deselect tests/test_manhole.py::test_uwsgi \
|
||||
--deselect tests/test_manhole.py::test_fork_exec \
|
||||
--deselect tests/test_manhole.py::test_connection_handler_exec[str] \
|
||||
--deselect tests/test_manhole.py::test_connection_handler_exec[func] \
|
||||
--deselect tests/test_manhole_cli.py::test_help
|
||||
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-py3doc-enhanced-theme \
|
||||
dev-python/sphinxcontrib-napoleon
|
||||
|
||||
Reference in New Issue
Block a user