def tests_format_aggregation_results_for_existing_category_and_no_subcategory(self):
     self.assertEqual([{'key': 'go_locus', 'values': []}], format_aggregation_results(self.es_aggregation_raw_response, 'biological_process', self.category_filters))
 def tests_format_aggregation_results_should_return_empty_for_unknown_category(self):
     self.assertEqual([], format_aggregation_results(self.es_aggregation_raw_response, 'lalala', self.category_filters))
 def tests_format_aggregation_results_for_no_category(self):
     self.assertEqual(self.es_aggregation_formatted_response, format_aggregation_results(self.es_aggregation_raw_response, '', self.category_filters))