'Takes a path_list and compares it against the course_outline
Attributes:
course_outline (list): A list of dictionaries that includes a \'path\'
and \'named_path\' field which we will be comparing path_list to
path_list (list): A list of the expected strings
outline_index (int): Index into the course_outline list for which the
path is being tested.'

def _verify_paths(self, course_outline, path_list, outline_index=0):

    path = course_outline[outline_index]['path']
    self.assertEqual(len(path), len(path_list))
    for i in range(len(path_list)):
        self.assertEqual(path_list[i], path[i]['name'])
    named_path = course_outline[outline_index]['named_path']
    self.assertEqual(len(named_path), len(path_list))
    for i in range(len(path_list)):
        self.assertEqual(path_list[i], named_path[i])
