def METHOD_NAME(self):
    # Test the scenario when retention_period is not set,
    # it should return without doing anything
    mock_pipeline_uuid = 'pipeline_uuid_1'
    logger_manager = LoggerManager(
        pipeline_uuid=mock_pipeline_uuid,
    )
    logger_manager.logging_config.retention_period = None
    # Mock the storage object to avoid actual deletion of files
    logger_manager.storage = MockStorage()
    self.__create_log_dir(logger_manager, mock_pipeline_uuid)
    logger_manager.delete_old_logs()
    # Assert that no files were deleted
    self.assertEqual(logger_manager.storage.remove_dir_calls, [])