File skip-networked-test.patch of Package python-pyOpenSSL

Index: pyOpenSSL-22.1.0/tests/test_ssl.py
===================================================================
--- pyOpenSSL-22.1.0.orig/tests/test_ssl.py
+++ pyOpenSSL-22.1.0/tests/test_ssl.py
@@ -1244,6 +1244,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-22.1.0/setup.cfg
===================================================================
--- pyOpenSSL-22.1.0.orig/setup.cfg
+++ pyOpenSSL-22.1.0/setup.cfg
@@ -2,6 +2,8 @@
 minversion = 3.0.1
 strict = true
 testpaths = tests
+markers =
+   network: test case requires network connection
 
 [metadata]
 license_file = LICENSE
@@ -16,4 +18,3 @@ doc_files = doc/_build/html
 [egg_info]
 tag_build = 
 tag_date = 0
-
openSUSE Build Service is sponsored by