libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject libcloud git commit: test: fix spelling in _get_response_if_not_available()
Date Sat, 16 Apr 2016 22:51:42 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 5b089e11e -> bb1306409


test: fix spelling in _get_response_if_not_available()

"availale" -> "available"
Closes #757


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

Branch: refs/heads/trunk
Commit: bb130640940fec2f3818f2cbe1cda702e6ff5b69
Parents: 5b089e1
Author: Ken Dreyer <ktdreyer@ktdreyer.com>
Authored: Sat Apr 16 14:08:17 2016 -0600
Committer: anthony-shaw <anthonyshaw@apache.org>
Committed: Sun Apr 17 08:51:21 2016 +1000

----------------------------------------------------------------------
 libcloud/test/__init__.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/bb130640/libcloud/test/__init__.py
----------------------------------------------------------------------
diff --git a/libcloud/test/__init__.py b/libcloud/test/__init__.py
index 747b02c..76f5b0c 100644
--- a/libcloud/test/__init__.py
+++ b/libcloud/test/__init__.py
@@ -319,24 +319,24 @@ class MockRawResponse(BaseMockHttpObject):
 
     @property
     def response(self):
-        return self._get_response_if_not_availale()
+        return self._get_response_if_not_available()
 
     @property
     def status(self):
-        self._get_response_if_not_availale()
+        self._get_response_if_not_available()
         return self._status
 
     @property
     def headers(self):
-        self._get_response_if_not_availale()
+        self._get_response_if_not_available()
         return self._headers
 
     @property
     def reason(self):
-        self._get_response_if_not_availale()
+        self._get_response_if_not_available()
         return self._reason
 
-    def _get_response_if_not_availale(self):
+    def _get_response_if_not_available(self):
         if not self._response:
             meth_name = self._get_method_name(type=self.type,
                                               use_param=False, qs=None,


Mime
View raw message