Searched refs:bug_template (Results 1 – 25 of 86) sorted by relevance
1234
19 bug_template= {}20 bug_template['owner'] = 'someone@company.com'21 reporting_utils.BugTemplate.validate_bug_template(bug_template)27 bug_template = ['test']30 bug_template)33 bug_template= {'no-owner': 'user1'}36 bug_template)39 bug_template= {'owner': 'invalid_email_address'}42 bug_template)45 bug_template= {}[all …]
81 def __init__(self, bug_template): argument87 self.bug_template = self.cleanup_bug_template(bug_template)91 def validate_bug_template(cls, bug_template): argument99 if not type(bug_template) is dict:104 for key, value in bug_template.iteritems():121 def cleanup_bug_template(cls, bug_template): argument130 if not type(bug_template) is dict:133 template = copy.deepcopy(bug_template)158 self.validate_bug_template(self.bug_template)162 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'))
230 bug_template=None, argument326 self.bug_template = {} if bug_template is None else bug_template577 bug_template=spec.bug_template)584 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])195 self.verify_bug_template(cd.bug_template)200 self.bug_template['labels'].append({'foo': 'bar'})203 self.verify_bug_template(cd.bug_template)208 self.bug_template = 'foobarbug_template'
29 args_dict['bug_template'] = _BUG_TEMPLATE
35 args_dict['bug_template'] = _BUG_TEMPLATE
36 args_dict['bug_template'] = _BUG_TEMPLATE
37 args_dict['bug_template'] = _BUG_TEMPLATE
40 args_dict['bug_template'] = _BUG_TEMPLATE
43 args_dict['bug_template'] = _BUG_TEMPLATE
41 args_dict['bug_template'] = _BUG_TEMPLATE
42 args_dict['bug_template'] = _BUG_TEMPLATE
44 args_dict['bug_template'] = _BUG_TEMPLATE
47 args_dict['bug_template'] = _BUG_TEMPLATE