- Skip some failing tests with pytest 8.x.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elastic-transport?expand=0&rev=25
This commit is contained in:
Steve Kowalik 2024-06-21 07:56:07 +00:00 committed by Git OBS Bridge
parent d5e293a593
commit 009687a281
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 21 07:55:47 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Skip some failing tests with pytest 8.x.
-------------------------------------------------------------------
Thu Jun 6 09:45:48 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@ -75,6 +75,10 @@ donttest="$donttest or test_assert_fingerprint_in_cert_chain"
donttest="$donttest or (test_ssl_assert_fingerprint and httpx)"
# gh#elastic/elastic-transport-python#96
donttest="$donttest or test_url_to_node_config[https://[::1]:0/-https://[::1]:0-]"
# pytest 8.x failures
donttest="$donttest or test_sniff_before_requests"
donttest="$donttest or test_sniff_on_node_failure"
donttest="$donttest or test_sniffed_nodes_added_to_pool"
%pytest -k "not ($donttest)"
%files %{python_files}