Skip to content

Commit 6255a8d

Browse files
authored
Merge pull request #161 from dt3310321/s3
modify ut
2 parents 718ab50 + e7fc79c commit 6255a8d

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
]
@@ -1270,10 +1271,10 @@ def test_download_file():
12701271
os.remove(file_name)
12711272

12721273

1273-
def test_put_get_bucket_intelligenttiering():
1274+
def _test_put_get_bucket_intelligenttiering():
12741275
"""测试设置获取智能分层"""
12751276
intelligent_tiering_conf = {
1276-
'Status': 'Enable',
1277+
'Status': 'Enabled',
12771278
'Transition': {
12781279
'Days': '30',
12791280
'RequestFrequent': '1'

0 commit comments

Comments
 (0)