1
0
Files
python-pyOpenSSL/skip-networked-test.patch
Dirk Mueller e6e57d5255 - update to 23.2.0:
* Removed ``X509StoreFlags.NOTIFY_POLICY``.
  * ``cryptography`` maximum version has been increased to
    41.0.x.
  * Invalid versions are now rejected in
    ``OpenSSL.crypto.X509Req.set_version``.
  * Added ``X509VerificationCodes`` to ``OpenSSL.SSL``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=105
2023-06-19 20:26:28 +00:00

31 lines
962 B
Diff

Index: pyOpenSSL-23.2.0/tests/test_ssl.py
===================================================================
--- pyOpenSSL-23.2.0.orig/tests/test_ssl.py
+++ pyOpenSSL-23.2.0/tests/test_ssl.py
@@ -1252,6 +1252,7 @@ class TestContext:
reason="set_default_verify_paths appears not to work on Windows. "
"See LP#404343 and LP#404344.",
)
+ @pytest.mark.network
def test_set_default_verify_paths(self):
"""
`Context.set_default_verify_paths` causes the platform-specific CA
Index: pyOpenSSL-23.2.0/setup.cfg
===================================================================
--- pyOpenSSL-23.2.0.orig/setup.cfg
+++ pyOpenSSL-23.2.0/setup.cfg
@@ -1,6 +1,8 @@
[tool:pytest]
addopts = "-r s --strict-markers"
testpaths = tests
+markers =
+ network: test case requires network connection
[metadata]
license_file = LICENSE
@@ -15,4 +17,3 @@ doc_files = doc/_build/html
[egg_info]
tag_build =
tag_date = 0
-