Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Graeb <[email protected]>
  • Loading branch information
TingDaoK and graebm authored Feb 12, 2025
1 parent 5f6f3ef commit 7adb0e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_helper/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,10 @@ def cleanup(bucket_name, availability_zone=None, client=s3_client):
create_bucket_with_lifecycle("usw2-az1")
create_bucket_with_lifecycle()
if args.create_public_bucket:
print("Skipping public bucket, run with --create_public_bucket if you need these.")
create_bucket_with_public_object()
else:
print("Skipping public bucket, run with --create_public_bucket if you need these.")

if os.environ.get('CRT_S3_TEST_BUCKET_NAME') != BUCKET_NAME_BASE:
print(
f"*** Set the environment variable $CRT_S3_TEST_BUCKET_NAME to {BUCKET_NAME_BASE} before running the tests ***")
Expand Down

0 comments on commit 7adb0e4

Please sign in to comment.