Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.9.29发布 #274

Merged
merged 2 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qcloud_cos/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '5.1.9.28'
__version__ = '5.1.9.29'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def long_description():

setup(
name='cos-python-sdk-v5',
version='1.9.28',
version='1.9.29',
url='https://www.qcloud.com/',
license='MIT',
author='tiedu, lewzylu, channingliu',
Expand Down
4 changes: 4 additions & 0 deletions ut/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,10 @@ def test_get_service():
from datetime import datetime
marker = ""
list_over = False
max_count = 3000
while list_over is False:
if max_count <= 0:
break
create_time = 1514736000
response = client.list_buckets(
Region='ap-beijing', CreateTime=create_time, Range='gt', Marker=marker)
Expand All @@ -788,6 +791,7 @@ def test_get_service():
bucket['CreationDate'], '%Y-%m-%dT%H:%M:%SZ').timetuple()))
assert ctime > create_time
assert bucket['Location'] == 'ap-beijing'
max_count -= 1

marker = response['Marker']
if response['IsTruncated'] == 'false':
Expand Down