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

Unified Diff: appengine/findit/handlers/test/handlers_util_test.py

Issue 2175053002: [Findit] Fixing debug view UI not to bundle unclassified with reliable failures (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fixing unit tests Created 4 years, 4 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/findit/handlers/handlers_util.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/handlers/test/handlers_util_test.py
diff --git a/appengine/findit/handlers/test/handlers_util_test.py b/appengine/findit/handlers/test/handlers_util_test.py
index 2e49000cd126db6713313baa43ca977285e7ac8c..4a25c7401e2e56252dbc4c20ab3f170bc3545a8f 100644
--- a/appengine/findit/handlers/test/handlers_util_test.py
+++ b/appengine/findit/handlers/test/handlers_util_test.py
@@ -571,7 +571,10 @@ class HandlersUtilResultTest(wf_testcase.WaterfallTestCase):
'try_jobs': [
{
'try_job_key': 'm/b/119',
- 'ref_name': 'step1'
+ 'ref_name': 'step1',
+ 'can_force': True,
+ 'status': result_status.NON_SWARMING_NO_RERUN,
+ 'tests': ['test1']
}
]
}
@@ -645,6 +648,7 @@ class HandlersUtilResultTest(wf_testcase.WaterfallTestCase):
]
}
}
+
self.assertEqual(expected_result, result)
def testUpdateTryJobInfoBasedOnSwarmingAllFlaky(self):
@@ -952,7 +956,7 @@ class HandlersUtilResultTest(wf_testcase.WaterfallTestCase):
}
WfTryJob.Create('m', 'b', '119').put()
handlers_util._GetCulpritInfoForTryJobResultForTest(
- try_job_key, culprits_info, False)
+ try_job_key, culprits_info)
expected_culprits_info = {
'step1 on platform': {
@@ -992,7 +996,7 @@ class HandlersUtilResultTest(wf_testcase.WaterfallTestCase):
]
try_job.put()
handlers_util._GetCulpritInfoForTryJobResultForTest(
- try_job_key, culprits_info, False)
+ try_job_key, culprits_info)
expected_culprits_info = {
'step1 on platform': {
« no previous file with comments | « appengine/findit/handlers/handlers_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698