Repository: libcloud
Updated Branches:
refs/heads/trunk 0e4e0ada6 -> 17c2217b5
Fix invalid test case
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/7088c49f
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/7088c49f
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/7088c49f
Branch: refs/heads/trunk
Commit: 7088c49f34867f0e78b15da23147f255abbed282
Parents: 504f4c2
Author: Geunwoo Shin <encyphered@gmail.com>
Authored: Mon Feb 8 21:19:36 2016 +0900
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Tue Feb 9 15:12:48 2016 +1100
----------------------------------------------------------------------
libcloud/test/common/test_aws.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/7088c49f/libcloud/test/common/test_aws.py
----------------------------------------------------------------------
diff --git a/libcloud/test/common/test_aws.py b/libcloud/test/common/test_aws.py
index a93b9e7..7d98376 100644
--- a/libcloud/test/common/test_aws.py
+++ b/libcloud/test/common/test_aws.py
@@ -227,7 +227,7 @@ class AWSRequestSignerAlgorithmV4TestCase(LibcloudTestCase):
def test_get_payload_hash_with_data_for_PUT_requests(self):
SignedAWSConnection.method = 'PUT'
- self.assertEqual(self.signer._get_payload_hash(method='POST', data='DUMMY'),
+ self.assertEqual(self.signer._get_payload_hash(method='PUT', data='DUMMY'),
'ceec12762e66397b56dad64fd270bb3d694c78fb9cd665354383c0626dbab013')
def test_get_payload_hash_with_empty_data_for_POST_requests(self):
|