Skip to content

Commit

Permalink
prevent account_id from being redacted in CI logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Apr 19, 2024
1 parent 37d40dc commit 6a78575
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ def b2_api(
)
yield api
api.clean_buckets()
summary_notes.append(f"B2 Account ID: {api.account_id!r}")
# showing account_id in the logs is safe; so we explicitly prevent it from being redacted
summary_notes.append(f"B2 Account ID: {api.account_id[:1]!r}{api.account_id[1:]!r}")
summary_notes.append(f"Buckets names used during this tests: {api.bucket_name_log!r}")


Expand Down

0 comments on commit 6a78575

Please sign in to comment.