typo fix for pub_obj_acl

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
This commit is contained in:
Abhishek Lekshmanan 2017-10-20 13:51:48 +02:00
parent fc0e55f7e1
commit afa108d742

View file

@ -9890,7 +9890,7 @@ def test_bucket_policy_put_obj_acl():
p = Policy() p = Policy()
resource = _make_arn_resource("{}/{}".format(bucket.name, "*")) resource = _make_arn_resource("{}/{}".format(bucket.name, "*"))
s1 = Statement("s3:PutObject",resource) s1 = Statement("s3:PutObject",resource)
s2 = Statement("s3:PutOBject", resource, effect="Deny", condition=conditional) s2 = Statement("s3:PutObject", resource, effect="Deny", condition=conditional)
policy_document = p.add_statement(s1).add_statement(s2).to_json() policy_document = p.add_statement(s1).add_statement(s2).to_json()