Skip to content

Commit

Permalink
Merge pull request ceph#486 from cbodley/wip-58365
Browse files Browse the repository at this point in the history
test_s3: remove test_user_policy()

Reviewed-by: Pritha Srivastava <[email protected]>
  • Loading branch information
cbodley authored Jan 27, 2023
2 parents b8422a2 + 18a41ab commit b147201
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions s3tests_boto3/functional/test_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -12028,23 +12028,6 @@ def test_object_read_unreadable():
assert status == 400
assert e.response['Error']['Message'] == 'Couldn\'t parse the specified URI.'

def test_user_policy():
client = get_tenant_iam_client()

policy_document = json.dumps(
{"Version":"2012-10-17",
"Statement": {
"Effect":"Allow",
"Action":"*",
"Resource":"*"}}
)
client.put_user_policy(
PolicyDocument= policy_document,
PolicyName='AllAccessPolicy',
UserName=get_tenant_user_id(),
)


def test_get_bucket_policy_status():
bucket_name = get_new_bucket()
client = get_client()
Expand Down

0 comments on commit b147201

Please sign in to comment.