You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/04/05 13:17:09 UTC
[18/33] libcloud git commit: Fix digital ocean tests
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 <an...@gmail.com>
Authored: Wed Mar 30 14:44:36 2016 +1100
Committer: anthony-shaw <an...@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__':