summaryrefslogtreecommitdiff
path: root/dev-python/pytest-socket
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-12 19:11:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-12 19:11:06 +0000
commit1a1f5db8827d7864f74b2f19b88aadd126b462d0 (patch)
tree1bb31895b92ab571db3841f81faf6632157225ca /dev-python/pytest-socket
parent00756a7495ccc0455ef2adbeb2237a02f1aa2629 (diff)
downloadbaldeagleos-repo-1a1f5db8827d7864f74b2f19b88aadd126b462d0.tar.gz
baldeagleos-repo-1a1f5db8827d7864f74b2f19b88aadd126b462d0.tar.xz
baldeagleos-repo-1a1f5db8827d7864f74b2f19b88aadd126b462d0.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest-socket')
-rw-r--r--dev-python/pytest-socket/pytest-socket-0.7.0-r1.ebuild28
1 files changed, 14 insertions, 14 deletions
diff --git a/dev-python/pytest-socket/pytest-socket-0.7.0-r1.ebuild b/dev-python/pytest-socket/pytest-socket-0.7.0-r1.ebuild
index 5f37742527e2..8952bb763ce3 100644
--- a/dev-python/pytest-socket/pytest-socket-0.7.0-r1.ebuild
+++ b/dev-python/pytest-socket/pytest-socket-0.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2025 Gentoo Authors
+# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,20 +21,20 @@ KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
"
-BDEPEND="
- test? (
- dev-python/pytest-httpx[${PYTHON_USEDEP}]
- dev-python/pytest-httpbin[${PYTHON_USEDEP}]
- )
-"
+EPYTEST_PLUGINS=( "${PN}" pytest-http{bin,x} )
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
distutils_enable_tests pytest
-src_test() {
- local EPYTEST_DESELECT=(
- tests/test_async.py::test_starlette
- tests/test_restrict_hosts.py::test_help_message
- )
+EPYTEST_DESELECT=(
+ tests/test_async.py::test_starlette
+ tests/test_restrict_hosts.py::test_help_message
- distutils-r1_src_test
-}
+ # require DNS access
+ tests/test_async.py::test_httpx_fails
+ tests/test_combinations.py::test_parametrize_with_socket_enabled_and_allow_hosts
+ tests/test_precedence.py::test_global_disable_and_allow_host
+ tests/test_socket.py::test_urllib_succeeds_by_default
+ tests/test_socket.py::test_enabled_urllib_succeeds
+ tests/test_socket.py::test_disabled_urllib_fails
+)