commit:     589c5285f4cdf8207ba9189793d21df0d5a09bb1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  7 13:39:39 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  7 13:52:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=589c5285

dev-python/pyftpdlib: Enable 'travis mode' to make tests fail less

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild 
b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild
index 919f9cb3f63..21ad58b09d2 100644
--- a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild
+++ b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild
@@ -40,16 +40,9 @@ python_test() {
        local skipped_tests=(
                # Those tests are run separately
                pyftpdlib/test/test_misc.py
-               # https://github.com/giampaolo/pyftpdlib/issues/470
-               # https://bugs.gentoo.org/659108
-               
pyftpdlib/test/test_functional_ssl.py::TestTimeouts::test_idle_data_timeout2
-               
pyftpdlib/test/test_functional_ssl.py::TestTimeoutsTLSMixin::test_idle_data_timeout2
                # https://github.com/giampaolo/pyftpdlib/issues/471
                # https://bugs.gentoo.org/636410
                
pyftpdlib/test/test_functional.py::TestCallbacks::test_on_incomplete_file_received
-               # https://github.com/giampaolo/pyftpdlib/issues/466
-               # https://bugs.gentoo.org/659786
-               
pyftpdlib/test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst
                # https://github.com/giampaolo/pyftpdlib/issues/512
                # https://bugs.gentoo.org/701146
                
pyftpdlib/test/test_functional_ssl.py::TestFtpStoreDataTLSMixin::test_rest_on_stor
@@ -74,7 +67,10 @@ python_test() {
                
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 epytest -p no:xvfb ${skipped_tests[@]/#/--deselect }
+       local -x TZ=UTC+1
+       # Skips some shoddy tests plus increases timeouts
+       local -x TRAVIS=1
+       epytest -p no:xvfb ${skipped_tests[@]/#/--deselect }
 }
 
 python_install_all() {

Reply via email to