forked from pool/python-paramiko
Accepting request 587595 from home:oertel:branches:devel:languages:python
- add paramiko-test_extend_timeout.patch (bsc#1085529) extend timeout in testsuite to pass on ppc64le OBS-URL: https://build.opensuse.org/request/show/587595 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=71
This commit is contained in:
committed by
Git OBS Bridge
parent
899f25ae5d
commit
73ed2fe7e7
11
paramiko-test_extend_timeout.patch
Normal file
11
paramiko-test_extend_timeout.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- paramiko-2.4.1/tests/test_buffered_pipe.py 2018/03/15 17:40:29 1.1
|
||||
+++ paramiko-2.4.1/tests/test_buffered_pipe.py 2018/03/15 17:40:36
|
||||
@@ -69,7 +69,7 @@
|
||||
self.assertTrue(False)
|
||||
except PipeTimeout:
|
||||
pass
|
||||
- self.assertEqual(b'b', p.read(1, 1.0))
|
||||
+ self.assertEqual(b'b', p.read(1, 3.0))
|
||||
self.assertEqual(b'', p.read(1))
|
||||
|
||||
def test_3_close_while_reading(self):
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 18:38:22 CET 2018 - ro@suse.de
|
||||
|
||||
- add paramiko-test_extend_timeout.patch (bsc#1085529)
|
||||
extend timeout in testsuite to pass on ppc64le
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 07:10:09 UTC 2018 - tbechtold@suse.com
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
|
||||
# certificates needed by testsuite
|
||||
Source1: cert_support.tar.gz
|
||||
Patch0: paramiko-test_extend_timeout.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module PyNaCl >= 1.0.1}
|
||||
BuildRequires: %{python_module bcrypt >= 3.1.3}
|
||||
@@ -72,6 +73,7 @@ This package contains the documentation.
|
||||
|
||||
%prep
|
||||
%setup -q -n paramiko-%{version}
|
||||
%patch0 -p1
|
||||
# Fix non-executable script rpmlint issue:
|
||||
find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
|
||||
tar xvzf %{SOURCE1} -C tests/
|
||||
|
||||
Reference in New Issue
Block a user