From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild') diff --git a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild index 4153a69ecea5..dcf5e4e10dd9 100644 --- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild +++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -31,9 +31,10 @@ PATCHES=( distutils_enable_tests pytest -python_test() { - # Skip tests which require network access - py.test -k "not (test_access_token_post or test_access_token_get \ - or test_two_legged_post or test_two_legged_get)" || die \ - "tests failed with ${EPYTHON}" -} +EPYTEST_DESELECT=( + # These tests require network access + tests/test_oauth.py::TestClient::test_access_token_get + tests/test_oauth.py::TestClient::test_access_token_post + tests/test_oauth.py::TestClient::test_two_legged_get + tests/test_oauth.py::TestClient::test_two_legged_post +) -- cgit v1.2.3