@staticmethod<EOL><INDENT>def load_dependencies(path_or_yamlfile):<DEDENT>
if os.path.isdir(path_or_yamlfile):<EOL><INDENT>path = os.path.join(os.path.abspath(path_or_yamlfile), "<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>path = os.path.join(os.path.dirname(os.path.abspath(path_or_yamlfile)), "<STR_LIT>")<EOL><DEDENT>api_def_folder = os.path.join(path, "<STR_LIT>")<EOL>suite_def_folder = os.path.join(path, "<STR_LIT>")<EOL>for test_file in FileUtils.load_folder_files(api_def_folder):<EOL><INDENT>YamlCaseLoader.load_api_file(test_file)<EOL><DEDENT>for suite_file in FileUtils.load_folder_files(suite_def_folder):<EOL><INDENT>suite = YamlCaseLoader.load_file(suite_file)<EOL>if "<STR_LIT>" not in suite["<STR_LIT>"]:<EOL><INDENT>raise p_exception.ParamsError("<STR_LIT>".format(suite_file))<EOL><DEDENT>call_func = suite["<STR_LIT>"]["<STR_LIT>"]<EOL>function_meta = parse_function(call_func)<EOL>suite["<STR_LIT>"] = function_meta<EOL>YamlCaseLoader.overall_def_dict["<STR_LIT>"][function_meta["<STR_LIT>"]] = suite<EOL><DEDENT>
load all api and suite definitions.
        @param path_or_yamlfile:  dir path or yamlfile path where have api folder and suite folder