Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1869)

Unified Diff: appengine/chromium_cq_status/tests/patch_timeline_data_test.py

Issue 1236243002: chromium-cq-status timeline view uses cname argument. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/chromium_cq_status/handlers/patch_timeline_data.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_cq_status/tests/patch_timeline_data_test.py
diff --git a/appengine/chromium_cq_status/tests/patch_timeline_data_test.py b/appengine/chromium_cq_status/tests/patch_timeline_data_test.py
index 2e416a010f9016eed176a6f0a05fc4a0338230ff..befa8f121f8306cbdabbf9642e932aa5eaecd2ba 100644
--- a/appengine/chromium_cq_status/tests/patch_timeline_data_test.py
+++ b/appengine/chromium_cq_status/tests/patch_timeline_data_test.py
@@ -24,9 +24,8 @@ class PatchTimelineDataTest(testing.AppengineTestCase):
'ts': 1434395516000184,
'pid': 'Attempt 1',
'tid': 'Patch Progress',
- 'args': {
- 'job_state': 'attempt_running',
- },
+ 'cname': 'cq_build_attempt_running',
+ 'args': {},
}, {
'name': 'Test-Trybot',
'cat': 'client.skia.fyi',
@@ -34,6 +33,7 @@ class PatchTimelineDataTest(testing.AppengineTestCase):
'ts': 1434395520503088,
'pid': 'Attempt 1',
'tid': 'Test-Trybot',
+ 'cname': 'cq_build_running',
'args': {},
}, {
'name': 'Test-Trybot',
@@ -42,10 +42,10 @@ class PatchTimelineDataTest(testing.AppengineTestCase):
'ts': 1434395577891760,
'pid': 'Attempt 1',
'tid': 'Test-Trybot',
+ 'cname': 'cq_build_passed',
'args': {
'build_url': ('http://build.chromium.org/p/client.skia.fyi/builders/'
'Test-Trybot/builds/794'),
- 'job_state': 'passed',
},
}, {
'name': 'Patch Committing',
@@ -54,9 +54,8 @@ class PatchTimelineDataTest(testing.AppengineTestCase):
'ts': 1434395579639639,
'pid': 'Attempt 1',
'tid': 'Patch Progress',
- 'args': {
- 'job_state': 'attempt_running',
- },
+ 'cname': 'cq_build_attempt_running',
+ 'args': {},
}, {
'name': 'Patch Committing',
'cat': 'Patch Progress',
@@ -64,9 +63,8 @@ class PatchTimelineDataTest(testing.AppengineTestCase):
'ts': 1434395584564138,
'pid': 'Attempt 1',
'tid': 'Patch Progress',
- 'args': {
- 'job_state': 'attempt_passed',
- },
+ 'cname': 'cq_build_attempt_passed',
+ 'args': {},
}, {
'name': 'Attempt 1',
'cat': 'Patch Progress',
@@ -74,8 +72,8 @@ class PatchTimelineDataTest(testing.AppengineTestCase):
'ts': 1434395584564362,
'pid': 'Attempt 1',
'tid': 'Patch Progress',
+ 'cname': 'cq_build_attempt_passed',
'args': {
- 'job_state': 'attempt_passed',
'action': 'patch_stop',
},
}])
« no previous file with comments | « appengine/chromium_cq_status/handlers/patch_timeline_data.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698