标签:method def field end depend 自动 get 获取 run
class global_var:
#case_id
ID = ‘0‘
url = ‘1‘
run =‘2‘
request_method = ‘3‘
header = ‘4‘
case_depend = ‘5‘
data_depend = ‘6‘
field_depend = ‘7‘
data =‘8‘
expect = ‘9‘
result = ‘10‘
#获取caseid
def get_id():
return global_var.ID
#获取url
def get_url():
return global_var.url
#获取是否运行
def get_run():
return global_var.run
def get_request_method():
return global_var.request_method
def get_header():
return global_var.header
def get_case_depend():
return global_var.case_depend
def get_data_depend():
return global_var.data_depend
def get_field_depend():
return global_var.field_depend
def get_data():
return global_var.data
def get_expect():
return global_var.expect
def get_result():
return global_var.result
标签:method def field end depend 自动 get 获取 run
原文地址:https://www.cnblogs.com/lexus168/p/12565519.html