def METHOD_NAME(get_dataframe, subscriber_list):
    """Test that a result is returned and warning is raised when omitting a subscriber column."""
    with pytest.warns(UserWarning):
        su_omit_col = get_dataframe(
            EventTableSubset(
                start="2016-01-01",
                stop="2016-01-03",
                subscriber_subset=subscriber_list,
                columns=["duration"],
            )
        )
    su_all_cols = get_dataframe(
        EventTableSubset(
            start="2016-01-01",
            stop="2016-01-03",
            subscriber_subset=subscriber_list,
            columns=["msisdn", "duration"],
        )
    )
    assert su_omit_col.duration.values.tolist() == su_all_cols.duration.values.tolist()
    assert su_omit_col.columns.tolist() == ["duration"]