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

Unified Diff: appengine/findit/handlers/flake/test/check_flake_test.py

Issue 2345093002: [Findit] Extending versioned_model.py to support versioning multiple entities of the same class. (Closed)
Patch Set: Ignore this patch, uploaded unrelated change to wrong branch Created 4 years, 3 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/flake/check_flake.py ('k') | appengine/findit/model/flake/flake_swarming_task.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/handlers/flake/test/check_flake_test.py
diff --git a/appengine/findit/handlers/flake/test/check_flake_test.py b/appengine/findit/handlers/flake/test/check_flake_test.py
index 742c5247c9dbe91098a9450368ac825ff4fa6e45..fc9b80a800250928ecaa72f49f12d0656d9ec4a3 100644
--- a/appengine/findit/handlers/flake/test/check_flake_test.py
+++ b/appengine/findit/handlers/flake/test/check_flake_test.py
@@ -80,7 +80,7 @@ class CheckFlakeTest(wf_testcase.WaterfallTestCase):
master_name, builder_name, build_number, step_name,
test_name, status)
master_flake_analysis.build_numbers.append(int(build_number))
- master_flake_analysis.success_rates.append(success_rate)
+ master_flake_analysis.pass_rates.append(success_rate)
master_flake_analysis.put()
response = self.test_app.get('/waterfall/check-flake', params={
@@ -93,7 +93,7 @@ class CheckFlakeTest(wf_testcase.WaterfallTestCase):
self.assertEquals(200, response.status_int)
expected_check_flake_result ={
- 'success_rates': [[int(build_number), success_rate]],
+ 'pass_rates': [[int(build_number), success_rate]],
'analysis_status': STATUS_TO_DESCRIPTION.get(
master_flake_analysis.status),
'master_name': master_name,
« no previous file with comments | « appengine/findit/handlers/flake/check_flake.py ('k') | appengine/findit/model/flake/flake_swarming_task.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698