def test_update_data_2(a):
    """Test update_data."""
    with pytest.raises(Exception):
        DatabaseIngestion.update_data(None)
    a.side_effect = SQLAlchemyError()
    with pytest.raises(Exception):
        DatabaseIngestion.update_data(None)
def test_update_data_1(a):
    """Test update_data."""
    DatabaseIngestion.update_data(None)