Searched refs:bug_template (Results 1 – 25 of 79) 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 …]
82 def __init__(self, bug_template): argument88 self.bug_template = self.cleanup_bug_template(bug_template)92 def validate_bug_template(cls, bug_template): argument100 if not type(bug_template) is dict:105 for key, value in bug_template.iteritems():122 def cleanup_bug_template(cls, bug_template): argument131 if not type(bug_template) is dict:134 template = copy.deepcopy(bug_template)159 self.validate_bug_template(self.bug_template)163 merged_template.update((k, v) for k, v in self.bug_template.iteritems()[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'))
229 bug_template=None, argument325 self.bug_template = {} if bug_template is None else bug_template573 bug_template=spec.bug_template)580 bug_template): argument
147 self.bug_template = {169 bug_template_line = 'BUG_TEMPLATE = %s' % json.dumps(self.bug_template)184 self.assertEqual(value, self.bug_template[key])191 self.verify_bug_template(cd.bug_template)196 self.bug_template['labels'].append({'foo': 'bar'})199 self.verify_bug_template(cd.bug_template)204 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
40 args_dict['bug_template'] = _BUG_TEMPLATE
42 args_dict['bug_template'] = _BUG_TEMPLATE
39 args_dict['bug_template'] = _BUG_TEMPLATE
41 args_dict['bug_template'] = _BUG_TEMPLATE
44 args_dict['bug_template'] = _BUG_TEMPLATE
45 args_dict['bug_template'] = _BUG_TEMPLATE
43 args_dict['bug_template'] = _BUG_TEMPLATE