def METHOD_NAME():
    connection = MagicMock()
    with patch('arctic.scripts.utils.logger', autospec=True) as logger, \
         patch('arctic.scripts.utils.get_auth', side_effect=[Mock(), None],
              autospec=True) as get_auth:
        connection.admin.authenticate.return_value = False
        assert not do_db_auth('hostname', connection, 'arctic_user')
    assert get_auth.call_args_list == [call('hostname', 'admin', 'admin'),
                                       call('hostname', 'arctic', 'arctic_user')]
    logger.error.assert_called_once_with("Failed to authenticate to '%s' as Admin. Giving up." % ('hostname'))