forked from TrueCloudLab/s3-tests
Merge pull request #460 from soumyakoduri/user_policy_tests
Fix User Policy test failures on dbstore
This commit is contained in:
commit
a3100af70a
1 changed files with 7 additions and 0 deletions
|
@ -548,6 +548,7 @@ def test_allow_bucket_actions_in_user_policy():
|
||||||
@attr(assertion='succeeds')
|
@attr(assertion='succeeds')
|
||||||
@attr('user-policy')
|
@attr('user-policy')
|
||||||
@attr('test_of_iam')
|
@attr('test_of_iam')
|
||||||
|
@attr('fails_on_dbstore')
|
||||||
def test_deny_bucket_actions_in_user_policy():
|
def test_deny_bucket_actions_in_user_policy():
|
||||||
client = get_iam_client()
|
client = get_iam_client()
|
||||||
s3_client = get_alt_client()
|
s3_client = get_alt_client()
|
||||||
|
@ -630,6 +631,7 @@ def test_allow_object_actions_in_user_policy():
|
||||||
@attr(assertion='succeeds')
|
@attr(assertion='succeeds')
|
||||||
@attr('user-policy')
|
@attr('user-policy')
|
||||||
@attr('test_of_iam')
|
@attr('test_of_iam')
|
||||||
|
@attr('fails_on_dbstore')
|
||||||
def test_deny_object_actions_in_user_policy():
|
def test_deny_object_actions_in_user_policy():
|
||||||
client = get_iam_client()
|
client = get_iam_client()
|
||||||
s3_client_alt = get_alt_client()
|
s3_client_alt = get_alt_client()
|
||||||
|
@ -712,6 +714,7 @@ def test_allow_multipart_actions_in_user_policy():
|
||||||
@attr(assertion='succeeds')
|
@attr(assertion='succeeds')
|
||||||
@attr('user-policy')
|
@attr('user-policy')
|
||||||
@attr('test_of_iam')
|
@attr('test_of_iam')
|
||||||
|
@attr('fails_on_dbstore')
|
||||||
def test_deny_multipart_actions_in_user_policy():
|
def test_deny_multipart_actions_in_user_policy():
|
||||||
client = get_iam_client()
|
client = get_iam_client()
|
||||||
s3_client = get_alt_client()
|
s3_client = get_alt_client()
|
||||||
|
@ -758,6 +761,7 @@ def test_deny_multipart_actions_in_user_policy():
|
||||||
@attr(assertion='succeeds')
|
@attr(assertion='succeeds')
|
||||||
@attr('user-policy')
|
@attr('user-policy')
|
||||||
@attr('test_of_iam')
|
@attr('test_of_iam')
|
||||||
|
@attr('fails_on_dbstore')
|
||||||
def test_allow_tagging_actions_in_user_policy():
|
def test_allow_tagging_actions_in_user_policy():
|
||||||
client = get_iam_client()
|
client = get_iam_client()
|
||||||
s3_client_alt = get_alt_client()
|
s3_client_alt = get_alt_client()
|
||||||
|
@ -807,6 +811,7 @@ def test_allow_tagging_actions_in_user_policy():
|
||||||
@attr(assertion='succeeds')
|
@attr(assertion='succeeds')
|
||||||
@attr('user-policy')
|
@attr('user-policy')
|
||||||
@attr('test_of_iam')
|
@attr('test_of_iam')
|
||||||
|
@attr('fails_on_dbstore')
|
||||||
def test_deny_tagging_actions_in_user_policy():
|
def test_deny_tagging_actions_in_user_policy():
|
||||||
client = get_iam_client()
|
client = get_iam_client()
|
||||||
s3_client = get_alt_client()
|
s3_client = get_alt_client()
|
||||||
|
@ -862,6 +867,7 @@ def test_deny_tagging_actions_in_user_policy():
|
||||||
@attr(assertion='succeeds')
|
@attr(assertion='succeeds')
|
||||||
@attr('user-policy')
|
@attr('user-policy')
|
||||||
@attr('test_of_iam')
|
@attr('test_of_iam')
|
||||||
|
@attr('fails_on_dbstore')
|
||||||
def test_verify_conflicting_user_policy_statements():
|
def test_verify_conflicting_user_policy_statements():
|
||||||
s3client = get_alt_client()
|
s3client = get_alt_client()
|
||||||
bucket = get_new_bucket(client=s3client)
|
bucket = get_new_bucket(client=s3client)
|
||||||
|
@ -897,6 +903,7 @@ def test_verify_conflicting_user_policy_statements():
|
||||||
@attr(assertion='succeeds')
|
@attr(assertion='succeeds')
|
||||||
@attr('user-policy')
|
@attr('user-policy')
|
||||||
@attr('test_of_iam')
|
@attr('test_of_iam')
|
||||||
|
@attr('fails_on_dbstore')
|
||||||
def test_verify_conflicting_user_policies():
|
def test_verify_conflicting_user_policies():
|
||||||
s3client = get_alt_client()
|
s3client = get_alt_client()
|
||||||
bucket = get_new_bucket(client=s3client)
|
bucket = get_new_bucket(client=s3client)
|
||||||
|
|
Loading…
Reference in a new issue