Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-konina-reef committed Sep 30, 2024
1 parent 749aa47 commit 4193185
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/integration/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ def _cleanup_old_buckets(raw_api, auth_dict, bucket_list_dict):


def _clean_and_delete_bucket(raw_api, api_url, account_auth_token, account_id, bucket_id):
# Delete the files. This test never creates more than a few files,
# so one call to list_file_versions should get them all.
"""
Clean up and delete a bucket, including all its contents.
List and delete all file versions, handle retention settings,
and remove both regular and large files before deleting the bucket.
"""
versions_dict = raw_api.list_file_versions(api_url, account_auth_token, bucket_id)
for version_dict in versions_dict['files']:
file_id = version_dict['fileId']
Expand Down

0 comments on commit 4193185

Please sign in to comment.