Skip to content

Commit 8ddfa3e

Browse files
committed
Avoid pushing persistent_bucket to bucket log in integration tests
1 parent d0a43c7 commit 8ddfa3e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/integration/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def bucket_manager(
234234
# showing account_id in the logs is safe; so we explicitly prevent it from being redacted
235235
summary_notes.append(f'B2 Account ID: {application_key_id[:1]!r}{application_key_id[1:]!r}')
236236
summary_notes.append(
237-
f'Buckets names used during this tests: {bucket_manager.bucket_name_log!r}'
237+
f'Buckets names used during this tests: {bucket_manager.bucket_name_mapping!r}'
238238
)
239239

240240

test/integration/persistent_bucket.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ def get_or_create_persistent_bucket(bucket_manager: BucketManager) -> Bucket:
5757
}
5858
],
5959
)
60-
# add the new bucket name to the list of bucket names
61-
bucket_manager.bucket_name_log.append(bucket_name)
6260
return bucket
6361

6462

0 commit comments

Comments
 (0)