diff options
Diffstat (limited to 'dev-python/aiorpcX/aiorpcX-0.18.5.ebuild')
| -rw-r--r-- | dev-python/aiorpcX/aiorpcX-0.18.5.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/aiorpcX/aiorpcX-0.18.5.ebuild b/dev-python/aiorpcX/aiorpcX-0.18.5.ebuild index 442b4db29c49..11ad52be9857 100644 --- a/dev-python/aiorpcX/aiorpcX-0.18.5.ebuild +++ b/dev-python/aiorpcX/aiorpcX-0.18.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/kyuupichan/aiorpcX/archive/${PV}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="" BDEPEND=" @@ -26,3 +26,13 @@ BDEPEND=" )" distutils_enable_tests pytest + +python_test() { + local deselect=( + # require Internet + tests/test_socks.py::TestSOCKSProxy::test_create_connection_resolve_good + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +} |
