libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [18/33] libcloud git commit: Fix digital ocean tests
Date Tue, 05 Apr 2016 11:17:09 GMT
Fix digital ocean tests


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

Branch: refs/heads/requests
Commit: dc1290f0213652eb5466cadda5cae291586f4bf1
Parents: 9be69cc
Author: anthony-shaw <anthony.p.shaw@gmail.com>
Authored: Wed Mar 30 14:44:36 2016 +1100
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Wed Mar 30 14:44:36 2016 +1100

----------------------------------------------------------------------
 libcloud/test/common/test_digitalocean_v2.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/dc1290f0/libcloud/test/common/test_digitalocean_v2.py
----------------------------------------------------------------------
diff --git a/libcloud/test/common/test_digitalocean_v2.py b/libcloud/test/common/test_digitalocean_v2.py
index e1582ea..21d855e 100644
--- a/libcloud/test/common/test_digitalocean_v2.py
+++ b/libcloud/test/common/test_digitalocean_v2.py
@@ -96,8 +96,8 @@ class DigitalOceanMockHttp(MockHttpTestCase):
 
     def _v2_actions_page_1(self, method, url, body, headers):
         body = self.fixtures.load('_v2_actions_page_1.json')
-        return (self.response[None], body, {},
-                httplib.responses[self.response[None]])
+        return (httplib.OK, body, {},
+                httplib.responses[httplib.OK])
 
 
 if __name__ == '__main__':


Mime
View raw message