mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 09:49:33 +08:00
bugfix: UnicodeDecodeError in Python2.7
This commit is contained in:
@@ -261,6 +261,10 @@ class Context(object):
|
||||
def validate(self, validators, resp_obj):
|
||||
""" make validations
|
||||
"""
|
||||
if not validators:
|
||||
return
|
||||
|
||||
logger.log_info("start to validate.")
|
||||
self.evaluated_validators = []
|
||||
validate_pass = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user