libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [05/11] libcloud git commit: fix openstack tests
Date Mon, 10 Jul 2017 07:45:23 GMT
fix openstack tests


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

Branch: refs/heads/trunk
Commit: 17fa4a3c24754df8ebf01176ee37cfab4dbf52b5
Parents: e318420
Author: Anthony Shaw <anthonyshaw@apache.org>
Authored: Fri May 5 12:02:12 2017 +1000
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Fri May 5 12:02:12 2017 +1000

----------------------------------------------------------------------
 libcloud/test/compute/test_openstack.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/17fa4a3c/libcloud/test/compute/test_openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_openstack.py b/libcloud/test/compute/test_openstack.py
index 06f6b28..fa09a48 100644
--- a/libcloud/test/compute/test_openstack.py
+++ b/libcloud/test/compute/test_openstack.py
@@ -510,7 +510,7 @@ class OpenStackMockHttp(MockHttp, unittest.TestCase):
             raise NotImplementedError()
         # this is currently used for deletion of an image
         # as such it should not accept GET/POST
-        return(httplib.NO_CONTENT, "", "", httplib.responses[httplib.NO_CONTENT])
+        return(httplib.NO_CONTENT, "", {}, httplib.responses[httplib.NO_CONTENT])
 
     def _v1_0_slug_images(self, method, url, body, headers):
         if method != "POST":


Mime
View raw message