commit:     a10ab06f5c07aeecef99608c9e9d6932956d0728
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Mar 14 03:59:05 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Mar 14 03:59:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a10ab06f

dev-python/tooz: ignore failing tests

Closes: https://bugs.gentoo.org/835032
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/tooz/tooz-2.10.1.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-python/tooz/tooz-2.10.1.ebuild 
b/dev-python/tooz/tooz-2.10.1.ebuild
index 1e44cc7cf..1c1b420b0 100644
--- a/dev-python/tooz/tooz-2.10.1.ebuild
+++ b/dev-python/tooz/tooz-2.10.1.ebuild
@@ -30,8 +30,8 @@ RDEPEND="
        >=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}]
        >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
 "
-DEPEND="
-       ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
        test? (
                >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
                >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
@@ -57,3 +57,12 @@ python_prepare_all() {
        sed -i '/^msgpack/d' requirements.txt || die
        distutils-r1_python_prepare_all
 }
+
+python_test() {
+       nosetests \
+               -e tooz.tests.test_coordination.TestAPI \
+               -e 
tooz.tests.test_memcache.TestMemcacheDriverFailures.test_client_failure_join \
+               -e 
tooz.tests.test_memcache.TestMemcacheDriverFailures.test_client_failure_leave \
+               -e tooz.tests.test_partitioner \
+               || die
+}

Reply via email to