Lines Matching refs:group_dict
63 def add_status_counts(group_dict, status): argument
71 group_dict[_PASS_COUNT_NAME] = pass_count
72 group_dict[_COMPLETE_COUNT_NAME] = complete_count
73 group_dict[_INCOMPLETE_COUNT_NAME] = incomplete_count
74 group_dict[models.TestView.objects._GROUP_COUNT_NAME] = 1
131 def _get_field(group_dict, field): argument
137 value = group_dict[field]
148 def _process_group_dict(self, group_dict): argument
151 header = tuple(self._get_field(group_dict, field)
154 group_dict.setdefault('header_values', []).append(header)
157 group_values = [group_dict[field] for field in self._group_by]
158 group_dict['id'] = str(group_values)
159 return group_dict
191 def _replace_headers_with_indices(self, group_dict): argument
192 group_dict['header_indices'] = [index_map[header_value]
195 group_dict['header_values'])]
197 del group_dict[field]
207 for group_dict in self._group_dicts:
208 self._process_group_dict(group_dict)
211 for group_dict in self._group_dicts:
212 self._replace_headers_with_indices(group_dict)