mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/txrequests: Fix running tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -18,7 +18,8 @@ LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-1.2.0[${PYTHON_USEDEP}]
|
||||
@@ -31,5 +32,6 @@ BDEPEND="
|
||||
"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m twisted.trial txrequests || die "Tests failed with ${EPYTHON}"
|
||||
"${EPYTHON}" -m twisted.trial test_txrequests ||
|
||||
die "Tests failed for ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user