Skip to content

Commit

Permalink
Fix logging level in the assert_s3_acl
Browse files Browse the repository at this point in the history
Logging level changed from error to warning.
Now there will be no such messages in the logs:

-------------------------------- live log call ---------------------------------
Error: -14 10:10:37 [ERROR] FULL_CONTROL is given to All Users
PASSED                                                                   [ 62%]

Signed-off-by: Oleg Kulachenko <[email protected]>
  • Loading branch information
vvarg229 committed Aug 14, 2023
1 parent e2cd420 commit 6c05dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_tests/helpers/s3_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ def assert_s3_acl(acl_grants: list, permitted_users: str):
permission = acl_grant.get("Permission")
assert permission == "FULL_CONTROL", "Only CanonicalUser should have FULL_CONTROL"
else:
logger.error("FULL_CONTROL is given to All Users")
logger.warning("FULL_CONTROL is given to All Users")

0 comments on commit 6c05dfe

Please sign in to comment.