- Disable broken test with latest urllib3 release

gh#elastic/elastic-transport-python#96

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elastic-transport?expand=0&rev=5
This commit is contained in:
Daniel Garcia 2022-12-05 12:10:28 +00:00 committed by Git OBS Bridge
parent bd04ec12be
commit 081360dd61
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 5 12:09:29 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Disable broken test with latest urllib3 release
gh#elastic/elastic-transport-python#96
-------------------------------------------------------------------
Tue Sep 27 19:15:33 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@ -68,6 +68,8 @@ sed -i 's/from mock/from unittest.mock/' tests/node/test_http_*.py
donttest="(test_http_aiohttp and not TestAiohttpHttpNode)"
donttest="$donttest or test_tls_versions"
donttest="$donttest or test_assert_fingerprint_in_cert_chain"
# gh#elastic/elastic-transport-python#96
donttest="$donttest or test_url_to_node_config[https://[::1]:0/-https://[::1]:0-]"
%pytest -k "not ($donttest)"
%files %{python_files}