def test_facet_dict_is_left_empty(self): plugin = MapactionthemePlugin() facets_dict = plugin.organization_facets({}, 'organization', 'dataset') self.assertEquals(facets_dict, {})
def test_removes_tags(self): plugin = MapactionthemePlugin() facets_dict = plugin.organization_facets(self.default_facet_titles, 'organization', 'dataset') self.assertTrue('tags' not in facets_dict)