Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4: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-3.2.0/libcloud/test/compute/test_ssh_client.py =================================================================== --- apache-libcloud-3.2.0.orig/libcloud/test/compute/test_ssh_client.py +++ apache-libcloud-3.2.0/libcloud/test/compute/test_ssh_client.py @@ -168,6 +168,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_1(self): path = os.path.join(os.path.dirname(__file__), 'fixtures', 'misc', @@ -198,6 +200,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_2(self): path = os.path.join(os.path.dirname(__file__), 'fixtures', 'misc', @@ -219,6 +223,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