Skip to content

Commit f38047e

Browse files
committed
ut
1 parent 527e511 commit f38047e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ut/test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3470,6 +3470,10 @@ def test_cos_comm_misc():
34703470
r = format_path('/test/path/to')
34713471
assert r == 'test/path/to'
34723472

3473+
def test_cosconfig_misc():
3474+
test_conf = CosConfig(Access_id=SECRET_ID, Access_key=SECRET_KEY)
3475+
test_conf.set_ip_port('10.0.0.1', 80)
3476+
test_conf.set_credential(SecretId=SECRET_ID, SecretKey=SECRET_KEY, Token=None)
34733477

34743478
def test_cos_exception_unknow():
34753479
msg = '<Error></Error>'

0 commit comments

Comments
 (0)