Make MockHttp.putrequest method signature matched MockHttp.putrequest method signature is now same as httplib.HTTPConnection.putrequest
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/1b586fbe Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/1b586fbe Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/1b586fbe Branch: refs/heads/trunk Commit: 1b586fbeb9da70cbe225f5a90201eb157489f4ed Parents: 4e1176e Author: Geunwoo Shin <[email protected]> Authored: Thu Jan 28 12:40:04 2016 +0900 Committer: anthony-shaw <[email protected]> Committed: Tue Feb 9 15:12:48 2016 +1100 ---------------------------------------------------------------------- libcloud/test/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/1b586fbe/libcloud/test/__init__.py ---------------------------------------------------------------------- diff --git a/libcloud/test/__init__.py b/libcloud/test/__init__.py index efc89c2..747b02c 100644 --- a/libcloud/test/__init__.py +++ b/libcloud/test/__init__.py @@ -263,7 +263,7 @@ class MockHttpTestCase(MockHttp, unittest.TestCase): class StorageMockHttp(MockHttp): - def putrequest(self, method, action): + def putrequest(self, method, action, skip_host=0, skip_accept_encoding=0): pass def putheader(self, key, value):
