TestcaseParser: rename function name, bind_variables => update_binded_variables

This commit is contained in:
httprunner
2017-11-01 16:42:52 +08:00
parent 7edba7be51
commit ed9079c495
2 changed files with 4 additions and 4 deletions

View File

@@ -330,11 +330,11 @@ def substitute_variables_with_mapping(content, mapping):
class TestcaseParser(object):
def __init__(self, variables={}, functions={}, file_path=None):
self.bind_variables(variables)
self.update_binded_variables(variables)
self.bind_functions(functions)
self.file_path = file_path
def bind_variables(self, variables):
def update_binded_variables(self, variables):
""" bind variables to current testcase parser
@param (dict) variables, variables binds mapping
{