'Test new course creation - error path'

def test_create_course_duplicate_course(self):

    self.client.ajax_post('/course/', self.course_data)
    self.assert_course_creation_failed(self.duplicate_course_error)
