调整gitlink相关接口用例

This commit is contained in:
floraachy
2024-01-09 13:49:07 +08:00
parent 9ee23cbc11
commit 40decc5349
32 changed files with 285 additions and 203 deletions
+33 -14
View File
@@ -16,20 +16,26 @@ ENV_VARS = {
"env": ""
},
"test": {
# 示例测试环境及示例测试账号
# 环境相关域名
"host": "https://testforgeplus.trustie.net",
"wiki_host": "",
"pms_host": "https://testpm.trustie.net",
"client_id": "****client_id****", # 获取oauth_token需要的参数
"client_secret": "****client_secret****", # 获取oauth_token需要的参数
"green_code": "****green_code-test****", # 万能验证码
# 获取oauth_token需要的参数
"client_id": "****client_id****",
"client_secret": "****client_secret****",
# 万能验证码
"green_code": "****green_code-test****",
# 测试账号 - 普通用户
"env_login": "autotest",
"env_password": "****autotest_password_test****", # 运行时需要手动更改密码
"env_nickname": "autotest",
"env_user_id": 106,
# 测试账号 - 超级管理员
"env_super_login": "floraachy",
"env_super_password": "****floraachy_password_test****", # 运行时需要手动更改密码
"env_project_url": "/autotest/auotest",
# 测试仓库 env_repo_owner/env_repo_identifier
"env_repo_owner": "autotest",
"env_repo_identifier": "auotest",
"env_project_id": "59",
# pms相关环境变量
"env_pms_product_id": "215",
@@ -52,20 +58,26 @@ ENV_VARS = {
},
"pre": {
# 示例测试环境及示例测试账号
# 环境相关域名
"host": "http://172.20.32.202:4000",
"wiki_host": "http://172.20.32.202:8093",
"pms_host": "https://testpm.trustie.net",
"client_id": "****client_id-pre****", # 获取oauth_token需要的参数
"client_secret": "****client_secret-pre****", # 获取oauth_token需要的参数
"green_code": "****green_code-pre****", # 万能验证码
# 获取oauth_token需要的参数
"client_id": "****client_id-pre****",
"client_secret": "****client_secret-pre****",
# 万能验证码
"green_code": "****green_code-pre****",
# 测试账号 - 普通用户
"env_login": "autotest",
"env_password": "****autotest-pre****", # 运行时需要手动更改密码
"env_nickname": "autotest",
"env_user_id": 115,
# 测试账号 - 超级管理员
"env_super_login": "floraachy",
"env_super_password": "****floraachy-pre****", # 运行时需要手动更改密码
"env_project_url": "/floraachy/autotest",
# 测试仓库 env_repo_owner/env_repo_identifier
"env_repo_owner": "floraachy",
"env_repo_identifier": "autotest",
"env_project_id": "161",
# pms相关环境变量
"env_pms_product_id": "",
@@ -88,19 +100,26 @@ ENV_VARS = {
},
"live": {
# 环境相关域名
"host": "https://www.gitlink.org.cn",
"wiki_host": "https://wiki.gitlink.org.cn",
"pms_host": "https://*****",
"client_id": "****client_id-live****", # 获取oauth_token需要的参数
"client_secret": "****client_secret-live****", # 获取oauth_token需要的参数
"green_code": "****green_code-live****", # 万能验证码
# 获取oauth_token需要的参数
"client_id": "****client_id-live****",
"client_secret": "****client_secret-live****",
# 万能验证码
"green_code": "****green_code-live****",
# 测试账号 - 普通用户
"env_login": "floraachy",
"env_password": "****floraachy-live****", # 运行时需要手动更改密码
"env_nickname": "🌼陈银花",
"env_user_id": 87611,
# 测试账号 - 超级管理员
"env_super_login": "chenyh",
"env_super_password": "****chenyh-live****", # 运行时需要手动更改密码
"env_project_url": "/floraachy/auotest",
# 测试仓库 env_repo_owner/env_repo_identifier
"env_repo_owner": "floraachy",
"env_repo_identifier": "autotest",
"env_project_id": "1445676",
# pms相关环境变量
"env_pms_product_id": "",