libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [3/5] git commit: lint.
Date Mon, 04 Nov 2013 22:46:56 GMT
lint.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/de7c9d39
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/de7c9d39
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/de7c9d39

Branch: refs/heads/trunk
Commit: de7c9d3910ed027cc122d0028f2c52fb5b4cc3d2
Parents: cc4bb9b
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Mon Nov 4 21:25:04 2013 +0000
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Mon Nov 4 21:25:04 2013 +0000

----------------------------------------------------------------------
 libcloud/test/compute/test_openstack.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/de7c9d39/libcloud/test/compute/test_openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_openstack.py b/libcloud/test/compute/test_openstack.py
index 1c6f66b..a68510b 100644
--- a/libcloud/test/compute/test_openstack.py
+++ b/libcloud/test/compute/test_openstack.py
@@ -151,13 +151,11 @@ class OpenStackAuthConnectionTests(unittest.TestCase):
         key = OPENSTACK_PARAMS[1]
 
         for (auth_version, mock_http_class) in tuples:
-            for _auth_url, \
-                should_append_default_path, \
-                expected_path in auth_urls:
-
+            for (url, should_append_default_path, expected_path) in auth_urls:
                 connection = \
                     self._get_mock_connection(mock_http_class=mock_http_class,
-                                              auth_url=_auth_url)
+                                              auth_url=url)
+
                 auth_url = connection.auth_url
 
                 osa = OpenStackAuthConnection(connection,


Mime
View raw message