def _set_up_course_run(self, with_policy=True, with_grading_policy=True):
<EOL>edx_composition_record = Type(**COMPOSITION_RECORD_TYPES['<STR_LIT>'])<EOL>course_run_composition_record = Type(**COMPOSITION_RECORD_TYPES['<STR_LIT>'])<EOL>form = self.rm.get_repository_form_for_create([])<EOL>form.display_name = '<STR_LIT>'<EOL>test_repo = self.rm.create_repository(form)<EOL>form = test_repo.get_composition_form_for_create([edx_composition_record])<EOL>form.display_name = '<STR_LIT>'<EOL>form.set_genus_type(Type(**COMPOSITION_GENUS_TYPES['<STR_LIT>']))<EOL>form.set_file_name('<STR_LIT>')<EOL>vertical = test_repo.create_composition(form)<EOL>form = test_repo.get_composition_form_for_create([edx_composition_record])<EOL>form.display_name = '<STR_LIT>'<EOL>form.set_genus_type(Type(**COMPOSITION_GENUS_TYPES['<STR_LIT>']))<EOL>form.set_file_name('<STR_LIT>')<EOL>form.set_children([vertical.ident])<EOL>sequential = test_repo.create_composition(form)<EOL>form = test_repo.get_composition_form_for_create([edx_composition_record])<EOL>form.display_name = '<STR_LIT>'<EOL>form.set_genus_type(Type(**COMPOSITION_GENUS_TYPES['<STR_LIT>']))<EOL>form.set_file_name('<STR_LIT>')<EOL>form.set_children([sequential.ident])<EOL>chapter = test_repo.create_composition(form)<EOL>form = test_repo.get_composition_form_for_create([course_run_composition_record])<EOL>form.display_name = '<STR_LIT>'<EOL>form.set_children([chapter.ident])<EOL>run_composition = test_repo.create_composition(form)<EOL>form = test_repo.get_composition_form_for_create([edx_composition_record])<EOL>form.display_name = '<STR_LIT>'<EOL>form.set_children([run_composition.ident])<EOL>course_composition = test_repo.create_composition(form)<EOL>return course_composition, run_composition<EOL>
Create a simple edX course with course, run, and a set of chapter -> sequential -> vertical
              compositions.