diff options
author | Louis Sautier <sbraz@gentoo.org> | 2021-05-11 19:12:07 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2021-05-11 19:20:04 +0200 |
commit | eb4b2b6723a39ac985e7041659c863b0966a841f (patch) | |
tree | 4b053951c6eb2e2a38b1d2640b87dcd2960f7b40 | |
parent | dev-lang/gnat-gpl: version bump to 2020 (diff) | |
download | gentoo-eb4b2b6723a39ac985e7041659c863b0966a841f.tar.gz gentoo-eb4b2b6723a39ac985e7041659c863b0966a841f.tar.bz2 gentoo-eb4b2b6723a39ac985e7041659c863b0966a841f.zip |
dev-python/pyftpdlib: skip more broken tests, use epytest
Closes: https://bugs.gentoo.org/759040
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
-rw-r--r-- | dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild index 76504eb3fcad..a063b7e0f3b6 100644 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7..9} ) PYTHON_REQ_USE="ssl(+)" inherit distutils-r1 @@ -64,10 +64,17 @@ python_test() { # https://bugs.gentoo.org/758686 pyftpdlib/test/test_functional.py::ThreadedFTPTests::test_idle_timeout pyftpdlib/test/test_functional.py::ThreadedFTPTests::test_stou_max_tries + # https://github.com/giampaolo/pyftpdlib/issues/550 + # https://bugs.gentoo.org/759040 + pyftpdlib/test/test_functional.py::TestConfigurableOptions::test_masquerade_address + pyftpdlib/test/test_functional.py::TestConfigurableOptions::test_masquerade_address_map + pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptions::test_masquerade_address + pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptions::test_masquerade_address_map + pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptionsTLSMixin::test_masquerade_address + pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptionsTLSMixin::test_masquerade_address_map ) # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 - TZ=UTC+1 pytest -vv ${skipped_tests[@]/#/--deselect } \ - || die "Tests failed with ${EPYTHON}" + TZ=UTC+1 epytest ${skipped_tests[@]/#/--deselect } } python_install_all() { |