[packages/python-httplib2] - disable test_ipv6 (seems to require network)

qboosh qboosh at pld-linux.org
Sun Jun 7 09:45:20 CEST 2020


commit 2ec8bbf22fbf6275a3d9380f46bd95d6b0ffddc2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 7 09:46:09 2020 +0200

    - disable test_ipv6 (seems to require network)

 python-httplib2.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-httplib2.spec b/python-httplib2.spec
index 7991d86..a838b8d 100644
--- a/python-httplib2.spec
+++ b/python-httplib2.spec
@@ -120,7 +120,7 @@ cech pomijanych przez inne biblioteki. Obsługuje:
 
 %if %{with tests}
 PYTHONPATH=$(pwd)/build-2/lib \
-%{__python} -m pytest tests -k 'not test_certs_file_from_builtin and not test_certs_file_from_environment and not test_with_certifi_removed_from_modules and not test_noproxy_star'
+%{__python} -m pytest tests -k 'not test_certs_file_from_builtin and not test_certs_file_from_environment and not test_ipv6 and not test_with_certifi_removed_from_modules and not test_noproxy_star'
 %endif
 %endif
 
@@ -130,7 +130,7 @@ PYTHONPATH=$(pwd)/build-2/lib \
 %if %{with tests}
 # in python3 implementation system socks module is preferred over httplib2.socks, and the first is incompatible with test_socks5_auth
 PYTHONPATH=$(pwd)/build-3/lib \
-%{__python3} -m pytest tests -k 'not test_certs_file_from_builtin and not test_certs_file_from_environment and not test_with_certifi_removed_from_modules and not test_noproxy_star and not test_server_not_found_error_is_raised_for_invalid_hostname and not test_socks5_auth'
+%{__python3} -m pytest tests -k 'not test_certs_file_from_builtin and not test_certs_file_from_environment and not test_ipv6 and not test_with_certifi_removed_from_modules and not test_noproxy_star and not test_server_not_found_error_is_raised_for_invalid_hostname and not test_socks5_auth'
 %endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-httplib2.git/commitdiff/2ec8bbf22fbf6275a3d9380f46bd95d6b0ffddc2



More information about the pld-cvs-commit mailing list