Skip to content

Commit 895f272

Browse files
committed
publish 1.7.1
1 parent 2c785ba commit 895f272

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

qcloud_cos/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
__version__ = '5.1.7.0'
2+
__version__ = '5.1.7.1'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def long_description():
1616

1717
setup(
1818
name='cos-python-sdk-v5',
19-
version='1.7.0',
19+
version='1.7.1',
2020
url='https://www.qcloud.com/',
2121
license='MIT',
2222
author='tiedu, lewzylu, channingliu',

ut/test.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -833,20 +833,6 @@ def test_change_object_storage_class():
833833
assert response['x-cos-storage-class'] == 'NEARLINE'
834834

835835

836-
def test_update_object_meta():
837-
"""更新文件的属性"""
838-
response = client.update_object_meta(
839-
Bucket=test_bucket,
840-
Key=test_object,
841-
ContentType='text/html'
842-
)
843-
response = client.head_object(
844-
Bucket=test_bucket,
845-
Key=test_object
846-
)
847-
assert response['Content-Type'] == 'text/html'
848-
849-
850836
def test_put_get_bucket_policy():
851837
"""设置获取bucket的policy配置"""
852838
resource = "qcs::cos:" + REGION + ":uid/" + APPID + ":" + test_bucket + "/*"

0 commit comments

Comments
 (0)