From b3d659fe3f0f217b514263e0edd580610d060405928df7a237ec3d4f6b12e4cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 20 Aug 2025 07:19:10 +0000 Subject: [PATCH] disabled some sni_ssl unittest on Leap 16.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geventhttpclient?expand=0&rev=28 --- python-geventhttpclient.changes | 7 +++++++ python-geventhttpclient.spec | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/python-geventhttpclient.changes b/python-geventhttpclient.changes index 0cf4b4e..c514deb 100644 --- a/python-geventhttpclient.changes +++ b/python-geventhttpclient.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 20 06:54:38 UTC 2025 - Max Lin + +- Disabled some sni_ssl unittest which just failed on Leap 16.0 + * test_implicit_sni_from_host_in_ssl, test_implicit_sni_from_header_in_ssl, + and test_explicit_sni_in_ssl + ------------------------------------------------------------------- Tue Oct 8 08:27:30 UTC 2024 - Daniel Garcia diff --git a/python-geventhttpclient.spec b/python-geventhttpclient.spec index e5516d4..f6a233d 100644 --- a/python-geventhttpclient.spec +++ b/python-geventhttpclient.spec @@ -71,7 +71,11 @@ tar -xvf %{SOURCE1} geventhttpclient-%{version}/tests/ %check # test_cookielib_compatibility https://github.com/gwik/geventhttpclient/issues/119 # test_no_module_ssl.py https://github.com/geventhttpclient/geventhttpclient/issues/180 +%if 0%{?suse_version} > 1600 %pytest_arch -m 'not network' -k 'not (test_cookielib_compatibility or test_no_module_ssl)' +%else +%pytest_arch -m 'not network' -k 'not (test_cookielib_compatibility or test_no_module_ssl or test_implicit_sni_from_host_in_ssl or test_implicit_sni_from_header_in_ssl or test_explicit_sni_in_ssl)' +%endif %files %{python_files} %doc README.md