def METHOD_NAME(self):
    super().METHOD_NAME()
    self.sandbox = FakeIsolateSandbox(None)
    patcher = patch("cms.grading.steps.compilation.logger.error")
    self.mock_logger_error = patcher.start()
    self.addCleanup(patcher.stop)