File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
python-sdk-functional-test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ def test_server_unreachable(self):
3737 assert False
3838 except ClientException as e :
3939 self .assertEqual ("SDK.HttpError" , e .error_code )
40- self .assertTrue (e .get_error_msg ().startswith ("HTTPConnectionPool(host='www.aliyun-hangzhou.com',"
41- " port=80): Max retries exceeded with url:" ))
40+ self .assertTrue (e .get_error_msg ().startswith (
41+ "HTTPConnectionPool(host='www.aliyun-hangzhou.com', port=80): "
42+ "Max retries exceeded with url:" ))
4243
4344 def test_server_error_normal (self ):
4445 from aliyunsdkecs .request .v20140526 .DeleteInstanceRequest import DeleteInstanceRequest
@@ -53,7 +54,6 @@ def test_server_error_normal(self):
5354
5455 def test_server_error_with_a_bad_json (self ):
5556 from aliyunsdkecs .request .v20140526 .DeleteInstanceRequest import DeleteInstanceRequest
56- from aliyunsdkcore .vendored .six .moves import http_client
5757
5858 request = DeleteInstanceRequest ()
5959 request .set_InstanceId ("blah" )
You can’t perform that action at this time.
0 commit comments