Home
last modified time | relevance | path

Searched refs:stoppage_alert (Results 1 – 18 of 18) sorted by relevance

/external/chromium-trace/catapult/dashboard/dashboard/models/
Dstoppage_alert_test.py11 from dashboard.models import stoppage_alert
29 alert = stoppage_alert.CreateStoppageAlert(test, row)
45 alert = stoppage_alert.CreateStoppageAlert(test, row)
50 stoppage_alert.CreateStoppageAlert(test, row).put()
51 stoppage_alert.CreateStoppageAlert(test, row).put()
52 self.assertEqual(1, len(stoppage_alert.StoppageAlert.query().fetch()))
55 self.assertIsNone(stoppage_alert.GetStoppageAlert('M/b/suite/bar', 123))
59 stoppage_alert.CreateStoppageAlert(test, row).put()
61 stoppage_alert.GetStoppageAlert(test.test_path, row.revision))
66 tests = map(str, range(stoppage_alert._MAX_GROUP_SIZE))
[all …]
Dalert_group_test.py14 from dashboard.models import stoppage_alert
187 foo_alert_key = stoppage_alert.CreateStoppageAlert(foo_test, foo_row).put()
188 bar_alert_key = stoppage_alert.CreateStoppageAlert(bar_test, bar_row).put()
Dgraph_data.py68 from dashboard.models import stoppage_alert as stoppage_alert_module
151 stoppage_alert = ndb.KeyProperty( variable in Test
Dstoppage_alert.py106 test.stoppage_alert = new_alert.key
/external/chromium-trace/catapult/dashboard/dashboard/
Dmr_test.py17 from dashboard.models import stoppage_alert
129 self.assertIsNone(stoppage_alert.StoppageAlert.query().get())
132 alerts = stoppage_alert.StoppageAlert.query().fetch()
141 self.assertIsNone(stoppage_alert.StoppageAlert.query().get())
142 stoppage_alert.CreateStoppageAlert(test_key.get(), row_key.get()).put()
143 self.assertEqual(1, len(stoppage_alert.StoppageAlert.query().fetch()))
146 self.assertEqual(1, len(stoppage_alert.StoppageAlert.query().fetch()))
151 self.assertIsNone(stoppage_alert.StoppageAlert.query().get())
154 self.assertIsNone(stoppage_alert.StoppageAlert.query().get())
Dalerts.py17 from dashboard.models import stoppage_alert
116 query = stoppage_alert.StoppageAlert.query(
117 stoppage_alert.StoppageAlert.sheriff == sheriff_key)
121 stoppage_alert.StoppageAlert.bug_id == None)
123 stoppage_alert.StoppageAlert.recovered == False)
125 query = query.order(-stoppage_alert.StoppageAlert.timestamp)
Dsend_stoppage_alert_emails.py16 from dashboard.models import stoppage_alert
101 return stoppage_alert.StoppageAlert.query(
102 stoppage_alert.StoppageAlert.sheriff == sheriff_entity.key,
103 stoppage_alert.StoppageAlert.mail_sent == False).fetch()
Dadd_point_queue_test.py11 from dashboard.models import stoppage_alert
64 alert_key = stoppage_alert.CreateStoppageAlert(test, row).put()
65 test.stoppage_alert = alert_key
68 self.assertIsNone(test.key.get().stoppage_alert)
Dgroup_report.py19 from dashboard.models import stoppage_alert
80 stoppage_alert_query = stoppage_alert.StoppageAlert.query(
81 stoppage_alert.StoppageAlert.bug_id == bug_id)
102 stoppage_alert_query = stoppage_alert.StoppageAlert.query(
103 stoppage_alert.StoppageAlert.end_revision == rev)
Dmigrate_test_names_test.py18 from dashboard.models import stoppage_alert
301 stoppage_alert.CreateStoppageAlert(test_key.get(), row_key.get()).put()
303 stoppage_alert.GetStoppageAlert('Master/b/suite/foo', 100))
305 stoppage_alert.GetStoppageAlert('Master/b/suite/bar', 100))
315 stoppage_alert.GetStoppageAlert('Master/b/suite/bar', 100))
317 stoppage_alert.GetStoppageAlert('Master/b/suite/foo', 100))
Dsend_stoppage_alert_emails_test.py15 from dashboard.models import stoppage_alert
43 stoppage_alert.CreateStoppageAlert(test, row).put()
53 stoppage_alerts = stoppage_alert.StoppageAlert.query().fetch()
Dmr.py32 from dashboard.models import stoppage_alert
143 if stoppage_alert.GetStoppageAlert(test.test_path, last_row.revision):
145 new_alert = stoppage_alert.CreateStoppageAlert(test, last_row)
Dassociate_alerts.py17 from dashboard.models import stoppage_alert
149 stoppage_alerts_with_bug = stoppage_alert.StoppageAlert.query(
150 stoppage_alert.StoppageAlert.bug_id == bug_id).fetch()
Dadd_point_queue.py310 if existing.stoppage_alert:
311 alert = existing.stoppage_alert.get()
316 logging.warning('Stoppage alert %s not found.', existing.stoppage_alert)
317 existing.stoppage_alert = None
Dmigrate_test_names.py32 from dashboard.models import stoppage_alert
414 query = stoppage_alert.StoppageAlert.query(
415 stoppage_alert.StoppageAlert.test == old_parent_key)
421 new_entity = stoppage_alert.StoppageAlert(
Dalerts_test.py18 from dashboard.models import stoppage_alert
181 stoppage_alert.CreateStoppageAlert(test_key.get(), row).put()
194 stoppage_alert.CreateStoppageAlert(test_key.get(), row).put()
Dgroup_report_test.py19 from dashboard.models import stoppage_alert
142 alert = stoppage_alert.CreateStoppageAlert(test_keys[0].get(), row)
Dassociate_alerts_test.py21 from dashboard.models import stoppage_alert
148 alert_key = stoppage_alert.CreateStoppageAlert(