@pytest.mark.usefixtures('data_config', 'nepc_connect')
def test_states_table_has_species_metadata(data_config, nepc_connect):
    '\n    check that the states table has a species_id column\n    '
    NEPC_DATA = data_config[0]
    number_of_states = (util.wc_fxn((NEPC_DATA + 'states.tsv')) - 1)
    df_states = nepc.table_as_df(nepc_connect[1], 'states')
    assert (len(df_states) == number_of_states)
    assert ('species_id' in list(df_states.columns))
check that the states table has a species_id column
@pytest.mark.usefixtures('data_config', 'nepc_connect')
def test_states_table_has_species_metadata(data_config, nepc_connect):
    '\n    \n    '
    NEPC_DATA = data_config[0]
    number_of_states = (util.wc_fxn((NEPC_DATA + 'states.tsv')) - 1)
    df_states = nepc.table_as_df(nepc_connect[1], 'states')
    assert (len(df_states) == number_of_states)
    assert ('species_id' in list(df_states.columns))