def test_get_filters_labels():
    filters = {'expertise_languages': ['aa'], 'q': 'foo', 'page': 5, 'expertise_regions': ['NORTH_EAST'], 'expertise_products_services_financial': [expertise.FINANCIAL[1]], 'industries': [sectors.AEROSPACE, sectors.ADVANCED_MANUFACTURING], 'expertise_products_services_human_resources': ['Employment and talent research']}
    expected = ['Afar', 'North East', 'Insurance', 'Aerospace', 'Advanced manufacturing', 'Employment and talent research']
    assert (helpers.get_filters_labels(filters) == expected)
def test_get_filters_labels():
    filters = {'expertise_languages': ['aa'], 'q': 'foo', 'page': 5, 'expertise_regions': ['NORTH_EAST'], 'expertise_products_services_financial': [expertise.FINANCIAL[1]], 'industries': [sectors.AEROSPACE, sectors.ADVANCED_MANUFACTURING], 'expertise_products_services_human_resources': ['Employment and talent research']}
    expected = ['Afar', 'North East', 'Insurance', 'Aerospace', 'Advanced manufacturing', 'Employment and talent research']
    assert (helpers.get_filters_labels(filters) == expected)