更改用例通过率计算方式;添加插件pytest-repeat,支持用例重复执行;增加数据处理方法:获取图片base64格式,支持用例数据传参需求;
This commit is contained in:
+7
-4
@@ -18,6 +18,7 @@ ENV_VARS = {
|
||||
"test": {
|
||||
# 示例测试环境及示例测试账号
|
||||
"host": "https://testforgeplus.trustie.net",
|
||||
"wiki_host": "",
|
||||
"client_id": "****client_id-test****", # 获取oauth_token需要的参数
|
||||
"client_secret": "****client_secret-test****", # 获取oauth_token需要的参数
|
||||
"green_code": "****green_code-test****", # 万能验证码
|
||||
@@ -26,7 +27,7 @@ ENV_VARS = {
|
||||
"nickname": "autotest",
|
||||
"user_id": 106,
|
||||
"super_login": "floraachy",
|
||||
"super_password": "****floraachy-test****", # 运行时需要手动更改密码
|
||||
"super_password": "****floraachy-test****", # 运行时需要手动更改密码
|
||||
"project_url": "/autotest/auotest",
|
||||
"db_info": {
|
||||
"db_host": "xx.xx.xx.xx",
|
||||
@@ -46,6 +47,7 @@ ENV_VARS = {
|
||||
"pre": {
|
||||
# 示例测试环境及示例测试账号
|
||||
"host": "http://172.20.32.202:4000",
|
||||
"wiki_host": "",
|
||||
"client_id": "****client_id-pre****", # 获取oauth_token需要的参数
|
||||
"client_secret": "****client_secret-pre****", # 获取oauth_token需要的参数
|
||||
"green_code": "****green_code-pre****", # 万能验证码
|
||||
@@ -54,7 +56,7 @@ ENV_VARS = {
|
||||
"nickname": "autotest",
|
||||
"user_id": 115,
|
||||
"super_login": "floraachy",
|
||||
"super_password": "****floraachy-pre****", # 运行时需要手动更改密码
|
||||
"super_password": "****floraachy-pre****", # 运行时需要手动更改密码
|
||||
"project_url": "/floraachy/autotest",
|
||||
"db_info": {
|
||||
"db_host": "xx.xx.xx.xx",
|
||||
@@ -73,15 +75,16 @@ ENV_VARS = {
|
||||
},
|
||||
"live": {
|
||||
"host": "https://www.gitlink.org.cn",
|
||||
"wiki_host": "",
|
||||
"client_id": "****client_id-live****", # 获取oauth_token需要的参数
|
||||
"client_secret": "****client_secret-live****", # 获取oauth_token需要的参数
|
||||
"green_code": "****green_code-live****", # 万能验证码
|
||||
"login": "floraachy",
|
||||
"password": "****floraachy-live****", # 运行时需要手动更改密码
|
||||
"password": "****floraachy-live****", # 运行时需要手动更改密码
|
||||
"nickname": "🌼陈银花",
|
||||
"user_id": 87611,
|
||||
"super_login": "chenyh",
|
||||
"super_password": "****chenyh-live****", # 运行时需要手动更改密码
|
||||
"super_password": "****chenyh-live****", # 运行时需要手动更改密码
|
||||
"project_url": "/floraachy/auotest",
|
||||
"db_info": {
|
||||
"db_host": "xx.xx.xx.xx",
|
||||
|
||||
Reference in New Issue
Block a user