def get_all_file_path_from_directory(directory):
    """
    Extract all the file path for one directory
    Parameters:
        directory - directory to be extracted
    Returns:
        a list contains the path for all the files in
        input directory
    """

    filepaths = []
    for root, dirs, files in os.walk(directory):
        for file in files:
            file_path = os.path.join(root, file)
            filepaths.append(file_path)

    return filepaths
Extract all the file path for one directory
Parameters:
directory - directory to be extracted
Returns:
a list contains the path for all the files in
input directory
tests/common/common_func.py