python-pyOpenSSL/skip-networked-test.patch
Jan Matejek fdb9f83f9d Accepting request 396253 from home:matejcik:branches:devel:languages:python
- added %check section with testsuite
- skip-networked-test.patch - mark a test as networked so that we can
  specify non-network test run
- rsa128-i586.patch - sidestep a crasher bug on 32bit platforms
  by generating reasonably-sized RSA keys instead of small 128bit ones

OBS-URL: https://build.opensuse.org/request/show/396253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=34
2016-05-17 13:40:41 +00:00

13 lines
528 B
Diff

Index: pyOpenSSL-16.0.0/tests/test_ssl.py
===================================================================
--- pyOpenSSL-16.0.0.orig/tests/test_ssl.py
+++ pyOpenSSL-16.0.0/tests/test_ssl.py
@@ -1198,6 +1198,7 @@ class ContextTests(TestCase, _LoopbackMi
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):
"""
:py:obj:`Context.set_default_verify_paths` causes the