'Run with celery, but with no course defined.'

def _test_undefined_course(self, task_class):

    task_entry = self._create_input_entry(course_id='bogus/course/id')
    with self.assertRaises(ItemNotFoundError):
        self._run_task_with_mock_celery(task_class, task_entry.id, task_entry.task_id)
