14
0

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
This commit is contained in:
Jan Matejek
2016-05-17 13:40:41 +00:00
committed by Git OBS Bridge
parent 74f5a4af4c
commit fdb9f83f9d
4 changed files with 65 additions and 2 deletions

12
skip-networked-test.patch Normal file
View File

@@ -0,0 +1,12 @@
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