def _mock_logger(self):
        self._orig_logger = create_images.logger
        create_images.logger = MagicMock()
Mock logger
dataset/ETHPy150Open nvbn/coviolations_web/nodes/tests/test_create_images.py/CreateImagesCase._mock_logger