Esempio n. 1
0
 def get_field(self):
     dc = DataConfig(self.data)
     self.case_id = dc.get_case_id()
     self.url = dc.get_url()
     self.method = dc.get_method()
     self.is_write = dc.is_write()
     self.is_run = dc.get_is_run()
     self.has_cookie = dc.has_cookie()
     self.header = dc.get_header()
     self.request_param = dc.get_param()
     self.request_data = dc.get_data()
     self.request_file = dc.get_file()
     self.depend_case_id = dc.get_depend_case_id()
     self.save_value = dc.get_save_value()
Esempio n. 2
0
 def get_field(self):
     dc = DataConfig(self.data)
     self.case_id = dc.get_case_id()
     self.url = dc.get_url()
     self.method = dc.get_method()
     self.is_write = dc.is_write()
     self.is_run = dc.get_is_run()
     self.has_cookie = dc.has_cookie()
     self.header = dc.get_header()
     self.request_param = dc.get_param()
     self.request_data = dc.get_data()
     self.request_file = dc.get_file()
     self.depend_case_id = dc.get_depend_case_id()
     self.expect = dc.get_expect_for_db()
     self.post_action = dc.get_post_action()
     self.post_params = dc.get_post_params()