def test_current_step(self): self.current_test = self.get_current_test() api.execute_function(func="exec", input_data=self.current_test["input"], callback=self.check_current_test, errback=self.fail_cur_step)
def test_current_step(self): self.current_test = self.get_current_test() api.execute_function( func="exec", input_data=self.current_test["input"], callback=self.check_current_test, errback=self.fail_cur_step)
def test_current_step(self): self.current_step += 1 api.execute_function( input_data=self.referee_data["input"], callback=self.check_current_test, errback=self.fail_cur_step, func=self.function_name, )
def test_current_step(self, data=None): input_name = "input" + str(self.run_count) req_name = REQ + str(self.run_count) if self.run_count: self.referee_data["recent_results"].append(data["result"]) else: self.referee_data["recent_results"] = [] if self.run_count >= self.quantity - 1: callback = self.check_current_test self.current_step += 1 self.run_count = 0 else: self.run_count += 1 callback = self.test_current_step self.referee_data["step"] = self.current_step if not self.run_count: api.request_write_in(self.referee_data["input"], REQ) api.execute_function(input_data=self.referee_data[input_name], callback=callback, errback=self.fail_cur_step, func=self.function_name, prefix=req_name)
def execute_current_test(self): api.execute_function(input_data=self.current_test["input"], callback=self.check_current_test, errback=self.fail_cur_step, func=self.function_name)
def test_current_step(self): self.current_step += 1 api.execute_function(input_data=self.referee_data["input"], callback=self.check_current_test, errback=self.fail_cur_step)