Searched refs:bug_template (Results 1 – 25 of 85) sorted by relevance
1234
21 bug_template= {}22 bug_template['owner'] = 'someone@company.com'23 reporting_utils.BugTemplate.validate_bug_template(bug_template)29 bug_template = ['test']32 bug_template)35 bug_template= {'no-owner': 'user1'}38 bug_template)41 bug_template= {'owner': 'invalid_email_address'}44 bug_template)47 bug_template= {}[all …]
88 def __init__(self, bug_template): argument94 self.bug_template = self.cleanup_bug_template(bug_template)98 def validate_bug_template(cls, bug_template): argument106 if not type(bug_template) is dict:111 for key, value in six.iteritems(bug_template):128 def cleanup_bug_template(cls, bug_template): argument137 if not type(bug_template) is dict:140 template = copy.deepcopy(bug_template)165 self.validate_bug_template(self.bug_template)169 merged_template.update((k, v) for k, v in six.iteritems(self.bug_template)[all …]
159 def send_email(bug, bug_template): argument169 if bug_template.get('cc'):170 to_set = to_set.union(bug_template.get('cc'))171 if bug_template.get('owner'):172 to_set.add(bug_template.get('owner'))
235 bug_template=None, argument334 self.bug_template = {} if bug_template is None else bug_template586 bug_template=spec.bug_template)593 bug_template): argument
151 self.bug_template = {173 bug_template_line = 'BUG_TEMPLATE = %s' % json.dumps(self.bug_template)188 self.assertEqual(value, self.bug_template[key])196 self.verify_bug_template(cd.bug_template)201 self.bug_template['labels'].append({'foo': 'bar'})205 self.verify_bug_template(cd.bug_template)210 self.bug_template = 'foobarbug_template'
28 args_dict['bug_template'] = _BUG_TEMPLATE
36 args_dict['bug_template'] = _BUG_TEMPLATE
35 args_dict['bug_template'] = _BUG_TEMPLATE
38 args_dict['bug_template'] = _BUG_TEMPLATE
41 args_dict['bug_template'] = _BUG_TEMPLATE
42 args_dict['bug_template'] = _BUG_TEMPLATE