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:14 UTC
[08/46] libcloud git commit: fix cloudstack tests
fix cloudstack tests
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2beccc8e
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2beccc8e
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2beccc8e
Branch: refs/heads/trunk
Commit: 2beccc8e2981e64754eea6800b22b49c03209627
Parents: 6c6cf41
Author: Anthony Shaw <an...@apache.org>
Authored: Tue Apr 11 11:55:57 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue Apr 11 11:55:57 2017 +1000
----------------------------------------------------------------------
libcloud/test/loadbalancer/test_cloudstack.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/2beccc8e/libcloud/test/loadbalancer/test_cloudstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/loadbalancer/test_cloudstack.py b/libcloud/test/loadbalancer/test_cloudstack.py
index 4218f6e..11e0b00 100644
--- a/libcloud/test/loadbalancer/test_cloudstack.py
+++ b/libcloud/test/loadbalancer/test_cloudstack.py
@@ -115,12 +115,12 @@ class CloudStackMockHttp(MockHttpTestCase):
else:
fixture = command + '_' + self.fixture_tag + '.json'
body, obj = self._load_fixture(fixture)
- return (httplib.OK, body, obj, httplib.responses[httplib.OK])
+ return (httplib.OK, body, {}, httplib.responses[httplib.OK])
def _cmd_queryAsyncJobResult(self, jobid):
fixture = 'queryAsyncJobResult' + '_' + str(jobid) + '.json'
body, obj = self._load_fixture(fixture)
- return (httplib.OK, body, obj, httplib.responses[httplib.OK])
+ return (httplib.OK, body, {}, httplib.responses[httplib.OK])
if __name__ == "__main__":
sys.exit(unittest.main())