1
0
mirror of synced 2024-12-22 12:50:33 +01:00

dev-python/etelemetry: Fixed tests

Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2022-09-14 18:47:40 -04:00
parent f497e701c4
commit c2e0646d2e
No known key found for this signature in database
GPG Key ID: 161C0BE6255333D3

View File

@ -18,10 +18,9 @@ KEYWORDS="~amd64 ~x86"
IUSE="test" IUSE="test"
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
DEPEND=" DEPEND=""
dev-python/versioneer[${PYTHON_USEDEP}]
"
RDEPEND=" RDEPEND="
dev-python/ci_info[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}]
" "
BDEPEND="" BDEPEND=""
@ -29,3 +28,11 @@ BDEPEND=""
S="${WORKDIR}/${MY_PN}-${PV}" S="${WORKDIR}/${MY_PN}-${PV}"
distutils_enable_tests pytest distutils_enable_tests pytest
# Due to the clowdish nature of the package, most tests fail:
# https://github.com/sensein/etelemetry-client/issues/41
EPYTEST_DESELECT=(
"etelemetry/tests/test_client.py::test_etrequest"
"etelemetry/tests/test_client.py::test_get_project"
"etelemetry/tests/test_client.py::test_check_available"
)