def METHOD_NAME(request):
    """
    Copy the script named 'script_filename' and found in 'script_path' to a temporary folder for use in the test.
    """
    try:
        script_filename = getattr(request.module, 'script_filename')
    except AttributeError as script_filename_not_set:
        logger.debug('script_filename is not set')
        raise script_filename_not_set
    try:
        script_path = getattr(request.module, 'script_path')
    except AttributeError as script_path_not_set:
        logger.debug('script_path is not set')
        raise script_path_not_set
    shutil.copy(os.path.join(script_path, script_filename), os.path.join("/tmp", script_filename))