'Create course at provided location'

def _create_course_with_given_location(self, course_key):

    resp = self.client.ajax_post(reverse_url('course_handler'), {'org': course_key.org, 'number': course_key.course, 'display_name': 'test    course', 'run': course_key.run})
    return resp
