change method name

This commit is contained in:
httprunner
2017-06-28 23:25:08 +08:00
parent f5705e37f8
commit 895553e158
3 changed files with 25 additions and 22 deletions

View File

@@ -107,9 +107,7 @@ class TestRunner(object):
resp_obj = response.ResponseObject(resp)
resp_obj.extract_response(self.context)
diff_content = resp_obj.diff_response(testcase['response'])
success = False if diff_content else True
return success, diff_content
return resp_obj.validate(testcase['response'])
def run_testset(self, testset):
""" run single testset, including one or several testcases.