#29: refactor validator, now support custom defined validators

This commit is contained in:
httprunner
2017-12-12 20:06:54 +08:00
parent 8c19212c6f
commit 155ad0167e
8 changed files with 234 additions and 129 deletions

View File

@@ -165,6 +165,9 @@ class Context(object):
def get_testcase_variables_mapping(self):
return self.testcase_variables_mapping
def get_testcase_functions_mapping(self):
return self.testcase_functions_config
def exec_content_functions(self, content):
""" execute functions in content.
"""