Accepting request 1040249 from devel:languages:python

- Disable broken test with latest urllib3 release
  gh#elastic/elastic-transport-python#96

OBS-URL: https://build.opensuse.org/request/show/1040249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elastic-transport?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-12-07 16:33:44 +00:00 committed by Git OBS Bridge
commit 75de5c88ee
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}