def test_setup_data_logging(mock_logger_file_handler):
    transformer = MockTransform()
    assert (hasattr(logging.Logger, 'data_issues') is False)
    assert (len(logging.getLogger().handlers) == 5)
    setup_data_logging(transformer)
    assert hasattr(logging.Logger, 'data_issues')
    assert (len(logging.getLogger().handlers) == 6)
    file_handler = logging.getLogger().handlers[(- 1)]
    logging.getLogger().removeHandler(file_handler)
def test_setup_data_logging(mock_logger_file_handler):
    transformer = MockTransform()
    assert (hasattr(logging.Logger, 'data_issues') is False)
    assert (len(logging.getLogger().handlers) == 5)
    setup_data_logging(transformer)
    assert hasattr(logging.Logger, 'data_issues')
    assert (len(logging.getLogger().handlers) == 6)
    file_handler = logging.getLogger().handlers[(- 1)]
    logging.getLogger().removeHandler(file_handler)