def METHOD_NAME(self):
    vocab_facet = "vocab_%s" % TEST_VOCAB_NAME
    context = {"model": model, "session": model.Session}
    data = {
        "q": "warandpeace",
        "facet": "true",
        "facet.field": ["groups", "tags", vocab_facet],
        "facet.limit": "50",
        "facet.mincount": 1,
    }
    result = logic.get_action("package_search")(context, data)
    facets = result["search_facets"]
    facet_tags = [t["name"] for t in facets["tags"]["items"]]
    assert len(facet_tags)
    # make sure vocab tags are not in 'tags' facet
    assert "tag1" not in facet_tags
    assert "tag2" not in facet_tags
    # make sure vocab tags are in vocab_<TEST_VOCAB_NAME> facet
    vocab_facet_tags = [t["name"] for t in facets[vocab_facet]["items"]]
    assert "tag1" in vocab_facet_tags
    assert "tag2" in vocab_facet_tags