Skip to content

Commit e7fc79c

Browse files
author
tiedu
committed
modify ut
1 parent 18be9ca commit e7fc79c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ut/test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,8 @@ def test_put_get_delete_replication():
583583
'Status': 'Enabled',
584584
'Prefix': '中文',
585585
'Destination': {
586-
'Bucket': 'qcs::cos:ap-shanghai::' + replic_dest_bucket
586+
'Bucket': 'qcs::cos:ap-shanghai::' + replic_dest_bucket,
587+
'StorageClass': 'Standard'
587588
}
588589
}
589590
]
@@ -1267,10 +1268,10 @@ def test_download_file():
12671268
os.remove(file_name)
12681269

12691270

1270-
def test_put_get_bucket_intelligenttiering():
1271+
def _test_put_get_bucket_intelligenttiering():
12711272
"""测试设置获取智能分层"""
12721273
intelligent_tiering_conf = {
1273-
'Status': 'Enable',
1274+
'Status': 'Enabled',
12741275
'Transition': {
12751276
'Days': '30',
12761277
'RequestFrequent': '1'

0 commit comments

Comments
 (0)