def load_script(script_file): """ load a test scripts as python module. :returns: imported script as python module. """ module = ScriptLoader.load(script_file) # -- skip-here: scriptvalidator.ensure_module_valid(module) # note: performed above in scriptloader.load_all() at process start. return module
def load_script(script_file): """ Load a test scripts as Python module. :returns: Imported script as python module. """ module = ScriptLoader.load(script_file) # -- SKIP-HERE: ScriptValidator.ensure_module_valid(module) # NOTE: Performed above in ScriptLoader.load_all() at process start. return module