Skip to content

Commit

Permalink
Merge pull request #274 from l-iberty/master
Browse files Browse the repository at this point in the history
1.9.29发布
  • Loading branch information
l-iberty authored May 23, 2024
2 parents ea1e8ee + 3cbc14a commit 1766f91
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
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

0 comments on commit 1766f91

Please sign in to comment.