Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move bucket policy test cases to tier2 #9844

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/functional/object/mcg/test_bucket_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ def test_bucket_policy_verify_invalid_scenarios(
)

@pytest.mark.polarion_id("OCS-5767")
@tier1
@tier2
def test_bucket_policy_elements_NotPrincipal(self, mcg_obj, bucket_factory):
"""
Test bucket policy element of NotPrincipal and Effect: Deny
Expand Down Expand Up @@ -930,7 +930,7 @@ def test_bucket_policy_elements_NotPrincipal(self, mcg_obj, bucket_factory):
pytest.param(
*["Allow"], marks=[tier1, pytest.mark.polarion_id("OCS-5768")]
),
pytest.param(*["Deny"], marks=[tier1, pytest.mark.polarion_id("OCS-5769")]),
pytest.param(*["Deny"], marks=[tier2, pytest.mark.polarion_id("OCS-5769")]),
],
)
def test_bucket_policy_elements_NotAction(self, mcg_obj, bucket_factory, effect):
Expand Down Expand Up @@ -1027,7 +1027,7 @@ def test_bucket_policy_elements_NotAction(self, mcg_obj, bucket_factory, effect)
delete_bucket_policy_verify(obc_obj, obc_obj.bucket_name)

@pytest.mark.polarion_id("OCS-5770")
@tier1
@tier2
def test_bucket_policy_elements_NotResource(self, mcg_obj, bucket_factory):
"""
Test bucket policy element of NotResource with Effect: Deny
Expand Down
Loading