Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
python-apache-libcloud
skip-some-tests-for-older-paramiko-versions.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skip-some-tests-for-older-paramiko-versions.patch of Package python-apache-libcloud
Index: apache-libcloud-2.8.3/libcloud/test/compute/test_ssh_client.py =================================================================== --- apache-libcloud-2.8.3.orig/libcloud/test/compute/test_ssh_client.py +++ apache-libcloud-2.8.3/libcloud/test/compute/test_ssh_client.py @@ -165,6 +165,8 @@ class ParamikoSSHClientTests(LibcloudTes expected_msg, mock.connect) @patch('paramiko.SSHClient', Mock) + @unittest.skipIf(paramiko_version < '2.7.0', + 'Old versions of paramiko do not support OPENSSH key format') def test_password_protected_key_no_password_provided(self): path = os.path.join(os.path.dirname(__file__), 'fixtures', 'misc', @@ -195,6 +197,8 @@ class ParamikoSSHClientTests(LibcloudTes expected_msg, mock.connect) @patch('paramiko.SSHClient', Mock) + @unittest.skipIf(paramiko_version < '2.7.0', + 'Old versions of paramiko do not support OPENSSH key format') def test_password_protected_key_no_password_provided(self): path = os.path.join(os.path.dirname(__file__), 'fixtures', 'misc', @@ -216,6 +220,8 @@ class ParamikoSSHClientTests(LibcloudTes expected_msg, mock.connect) @patch('paramiko.SSHClient', Mock) + @unittest.skipIf(paramiko_version < '2.7.0', + 'Old versions of paramiko do not support OPENSSH key format') def test_password_protected_key_valid_password_provided(self): path = os.path.join(os.path.dirname(__file__), 'fixtures', 'misc',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor