Exemple #1
0
 def __init__(self):
     self.data = get_request_json()
     self.username = redis.get_username(request.headers.get('X-Token'))
     self.acim = ApiCompanyInfoManager()
     self.asim = ApiSystemInfoManager()
     self.aiim = ApiIntfInfoManager()
     self.apsrm = ApiProjectSystemRelationManager()
Exemple #2
0
 def __init__(self):
     self.data = get_request_json()
     self.username = redis.get_username(request.headers.get('X-Token'))
     self.acim = ApiCompanyInfoManager()
     self.asim = ApiSystemInfoManager()
     self.aiim = ApiIntfInfoManager()
     self.atim = ApiTestcaseInfoManager()
     self.apirm = ApiProjectIntfRelationManager()
     self.aidrm = ApiIntfDefaultRequestManager()
Exemple #3
0
    def __init__(self):
        self.apv = ApiPublicVariableInfoManager()
        self.atim = ApiTestcaseInfoManager()
        self.asim = ApiSystemInfoManager()
        self.apim = ApiProjectInfoManager()
        self.acim = ApiCompanyInfoManager()
        self.aiim = ApiIntfInfoManager()
        self.atmm = ApiTestcaseMainManager()
        self.atsm = ApiTestcaseSubManager()
        self.custom = read_custom()

        self.data = get_request_json()
        self.username = redis.get_username(request.headers.get('X-Token'))
Exemple #4
0
 def __init__(self):
     self.data = get_request_json()
     self.username = redis.get_username(request.headers.get('X-Token'))
     self.acim = ApiCompanyInfoManager()
     self.asim = ApiSystemInfoManager()
     self.aiim = ApiIntfInfoManager()
     self.atim = ApiTestcaseInfoManager()
     self.atrm = ApiTestcaseRequestManager()
     self.attrm = ApiTestcaseTagRelationManager()
     self.ttm = TestcaseTagManager()
     self.atmm = ApiTestcaseMainManager()
     self.chain_list = []
     self.chain_no = 0
     if self.username:
         self.data["userName"] = self.username
Exemple #5
0
 def __init__(self):
     self.data = get_request_json()
     self.username = redis.get_username(request.headers.get('X-Token'))
     self.acim = ApiCompanyInfoManager()
     self.asim = ApiSystemInfoManager()
     self.all_sub_objs = None