Minor changes

This commit is contained in:
Zhong Lufan
2023-01-30 23:54:15 +08:00
parent 92c24f3528
commit 7e24386e51
3 changed files with 13 additions and 12 deletions

View File

@@ -2,6 +2,7 @@
# shellcheck shell=bash disable=SC2154
setup() {
# shellcheck disable=SC1091
[[ -f .env.test ]] && source .env.test
source AliyunOpenApiSDK.sh
}
@@ -69,6 +70,10 @@ test_check_vars() { #@test
[[ $status -eq 0 ]]
}
getQueryType() {
echo MetaTag
}
test_rpc_api() { #@test
skip_no_aliaccess
@@ -89,10 +94,6 @@ test_rpc_api() { #@test
run grep "user/aliyun-openapi-shell-sdk-test" <<< "$output"
[[ $status -eq 0 ]]
getQueryType() {
echo MetaTag
}
run aliapi_rpc GET tag.aliyuncs.com 2018-08-28 ListTagKeys --RegionId cn-hangzhou --QueryType "getQueryType()"
[[ $status -eq 0 ]]
run grep '"Key":"openapi-shell-sdk-test"' <<< "$output"