- Skip some tests

* that require a working resolver and external DNS resolution
  * that require an openssl3 version with support for
    ECDSA with deterministic signature (RFC 6979)"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=79
This commit is contained in:
Sebastian Wagner
2024-10-08 20:25:32 +00:00
committed by Git OBS Bridge
parent d9f18315ed
commit a0a937dad6
2 changed files with 19 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Oct 8 20:19:23 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Skip some tests
* that require a working resolver and external DNS resolution
* that require an openssl3 version with support for
ECDSA with deterministic signature (RFC 6979)"
-------------------------------------------------------------------
Sun Oct 6 07:03:50 UTC 2024 - Martin Hauke <mardnh@gmx.de>

View File

@@ -115,6 +115,17 @@ chmod -x dns/win32util.py
%if %{with test}
%check
# remove tests that require a working resolver and external DNS resolution
rm tests/test_async.py
rm tests/test_doh.py
rm tests/test_resolver.py
rm tests/test_resolver_override.py
# remove dnssec related tests since those require an openssl version with
# support for supports "ECDSA with deterministic signature (RFC 6979)"
# https://github.com/pyca/cryptography/pull/10369
# TODO: reenable once TW ships openssl >= 3.2.0
rm tests/test_dnssec.py
rm tests/test_dnssecalgs.py
%pytest
%endif