You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by vd...@apache.org on 2018/09/19 08:09:50 UTC
[14/18] libcloud git commit: Fix lint
Fix lint
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a5b8b975
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a5b8b975
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a5b8b975
Branch: refs/heads/trunk
Commit: a5b8b9753b86caf0d0e105a2da203a09ba53f177
Parents: b4e957f
Author: micafer <mi...@upv.es>
Authored: Fri May 25 12:34:05 2018 +0200
Committer: micafer <mi...@upv.es>
Committed: Fri May 25 12:34:05 2018 +0200
----------------------------------------------------------------------
libcloud/test/common/test_openstack_identity.py | 2 +-
libcloud/test/compute/test_openstack.py | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/a5b8b975/libcloud/test/common/test_openstack_identity.py
----------------------------------------------------------------------
diff --git a/libcloud/test/common/test_openstack_identity.py b/libcloud/test/common/test_openstack_identity.py
index 1b6e144..c36f13a 100644
--- a/libcloud/test/common/test_openstack_identity.py
+++ b/libcloud/test/common/test_openstack_identity.py
@@ -591,7 +591,7 @@ class OpenStackServiceCatalogTestCase(unittest.TestCase):
catalog = OpenStackServiceCatalog(service_catalog=service_catalog,
auth_version='2.0')
service_types = catalog.get_service_types()
- self.assertEqual(service_types, ['compute', 'image', 'network',
+ self.assertEqual(service_types, ['compute', 'image', 'network',
'object-store', 'rax:object-cdn'])
service_types = catalog.get_service_types(region='ORD')
http://git-wip-us.apache.org/repos/asf/libcloud/blob/a5b8b975/libcloud/test/compute/test_openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_openstack.py b/libcloud/test/compute/test_openstack.py
index 0a44460..d8ac0b0 100644
--- a/libcloud/test/compute/test_openstack.py
+++ b/libcloud/test/compute/test_openstack.py
@@ -1711,6 +1711,7 @@ class OpenStack_2_Tests(OpenStack_1_1_Tests):
network = self.driver.ex_list_networks()[0]
self.assertTrue(self.driver.ex_delete_network(network=network))
+
class OpenStack_1_1_FactoryMethodTests(OpenStack_1_1_Tests):
should_list_locations = False
should_list_volumes = True
@@ -2182,6 +2183,7 @@ class OpenStack_2_0_MockHttp(OpenStack_1_1_MockHttp):
setattr(self, new_name, method_type(method, self,
OpenStack_2_0_MockHttp))
+
class OpenStack_1_1_Auth_2_0_Tests(OpenStack_1_1_Tests):
driver_args = OPENSTACK_PARAMS + ('1.1',)
driver_kwargs = {'ex_force_auth_version': '2.0'}