mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 01:39:39 +08:00
TestcaseParser: rename function name, bind_variables => update_binded_variables
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user