'Get a course hierarchy to test with.
Assumes self.split_test_user_partition has already been initialized.
Returns: dict[course_structure]'

def get_course_hierarchy(self):

    org_name = 'SplitTestTransformer'
    course_name = 'ST101F'
    run_name = 'test_run'
    def location(block_ref, block_type='vertical'):
        '\n                                                Returns    the    usage    key    for    the    given    block_type    and    block    reference    string    in    the    test    course.\n                                                '
        return create_location(org_name, course_name, run_name, block_type, self.create_block_id(block_type, block_ref))
    return [{'org': org_name, 'course': course_name, 'run': run_name, 'user_partitions': [self.split_test_user_partition], '#type': 'course', '#ref': 'course'}, {'#type': 'vertical', '#ref': 'A', '#children': [{'#type': 'vertical', '#ref': 'D'}]}, {'#type': 'split_test', '#ref': 'BSplit', 'metadata': {'category': 'split_test'}, 'user_partition_id': self.TEST_PARTITION_ID, 'group_id_to_child': {'0': location('E'), '1': location('F'), '2': location('G')}, '#children': [{'#type': 'vertical', '#ref': 'G'}]}, {'#type': 'vertical', '#ref': 'E', '#parents': ['A', 'BSplit']}, {'#type': 'vertical', '#ref': 'F', '#parents': ['BSplit'], '#children': [{'#type': 'vertical', '#ref': 'J'}]}, {'#type': 'split_test', '#ref': 'KSplit', 'metadata': {'category': 'split_test'}, 'user_partition_id': self.TEST_PARTITION_ID, 'group_id_to_child': {'1': location('M'), '2': location('N')}, '#parents': ['F'], '#children': [{'#type': 'vertical', '#ref': 'M'}, {'#type': 'vertical', '#ref': 'N'}]}, {'#type': 'split_test', '#ref': 'CSplit', 'metadata': {'category': 'split_test'}, 'user_partition_id': self.TEST_PARTITION_ID, 'group_id_to_child': {'0': location('H'), '1': location('I')}, '#children': [{'#type': 'vertical', '#ref': 'I'}, {'#type': 'vertical', '#ref': 'H', '#children': [{'#type': 'vertical', '#ref': 'L', '#children': [{'#type': 'vertical', '#ref': 'P'}]}]}]}, {'#type': 'vertical', '#ref': 'O', '#parents': ['G', 'L']}]
