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