mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-02 22:39:42 +08:00
make wrappers for get_bind_item
This commit is contained in:
@@ -209,7 +209,7 @@ class Context(object):
|
||||
""" validate with functions
|
||||
"""
|
||||
comparator = utils.get_uniform_comparator(validator_dict["comparator"])
|
||||
validate_func = self.testcase_parser.get_bind_item("function", comparator)
|
||||
validate_func = self.testcase_parser.get_bind_function(comparator)
|
||||
|
||||
if not validate_func:
|
||||
raise exception.FunctionNotFound("comparator not found: {}".format(comparator))
|
||||
|
||||
Reference in New Issue
Block a user