HomeSort by relevance Sort by last modified time
    Searched refs:bug_template (Results 1 - 8 of 8) sorted by null

  /external/autotest/server/cros/dynamic_suite/
reporting_unittest.py 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...]
reporting_utils.py 82 def __init__(self, bug_template):
85 @param bug_template: initial bug template, e.g., bug template from suite
88 self.bug_template = self.cleanup_bug_template(bug_template)
92 def validate_bug_template(cls, bug_template):
95 @param bug_template: bug template to be verified.
100 if not type(bug_template) is dict:
105 for key, value in bug_template.iteritems():
122 def cleanup_bug_template(cls, bug_template):
125 @param bug_template: bug template to be verified
    [all...]
reporting.py 159 def send_email(bug, bug_template):
163 @param bug_template: A template dictionary specifying the default bug
169 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'))
dynamic_suite.py 229 bug_template=None,
272 @param bug_template: A template dictionary specifying the default bug
325 self.bug_template = {} if bug_template is None else bug_template
573 bug_template=spec.bug_template)
580 bug_template):
589 @param bug_template: A template dictionary specifying the default bug
fakes.py 30 self.bug_template = {}
suite.py     [all...]
  /external/autotest/client/common_lib/
control_data_unittest.py 147 self.bug_template = {
167 @return: The control file string with the BUG_TEMPLATE line.
169 bug_template_line = 'BUG_TEMPLATE = %s' % json.dumps(self.bug_template)
180 doesn't match the value in 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
    [all...]
  /external/autotest/site_utils/presubmit_hooks/
check_control_files.py 252 ctrl_data.bug_template)

Completed in 562 milliseconds