'Check that a task_class fails when celery doesn\'t provide a current_task.'

def _test_missing_current_task(self, task_class):

    task_entry = self._create_input_entry()
    with self.assertRaises(ValueError):
        task_class(task_entry.id, self._get_xmodule_instance_args())
