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 2017/04/13 09:33:37 UTC

[31/46] libcloud git commit: fix storage base tests

fix storage base tests


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

Branch: refs/heads/trunk
Commit: cd6b81360add4456aae938ee54d472e9945f4f30
Parents: 792713e
Author: Anthony Shaw <an...@apache.org>
Authored: Thu Apr 13 11:17:28 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Thu Apr 13 11:17:28 2017 +1000

----------------------------------------------------------------------
 libcloud/test/storage/test_base.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/cd6b8136/libcloud/test/storage/test_base.py
----------------------------------------------------------------------
diff --git a/libcloud/test/storage/test_base.py b/libcloud/test/storage/test_base.py
index 127eda1..2f3b048 100644
--- a/libcloud/test/storage/test_base.py
+++ b/libcloud/test/storage/test_base.py
@@ -35,6 +35,10 @@ class BaseMockRawResponse(MockHttp):
         body = 'ab'
         return (httplib.OK, body, {}, httplib.responses[httplib.OK])
 
+    def root(self, method, url, body, headers):
+        body = 'ab'
+        return (httplib.OK, body, {}, httplib.responses[httplib.OK])
+
 
 class BaseStorageTests(unittest.TestCase):