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

Side by Side Diff: appengine/findit/handlers/test/result_status_test.py

Issue 1833833002: [Findit] Modify build_failure to prepare for new UI. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@0314-result-page
Patch Set: . Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from testing_utils import testing 5 from testing_utils import testing
6 6
7 from handlers import result_status 7 from handlers import result_status
8 from model import wf_analysis_status 8 from model import wf_analysis_status
9 9
10 class ResultStatusTest(testing.AppengineTestCase): 10 class ResultStatusTest(testing.AppengineTestCase):
11 11
12 def testToStatusMessage(self): 12 def testToStatusMessage(self):
13 self.assertEqual( 13 self.assertEqual(
14 'Flaky tests.', result_status.ToStatusMessage(result_status.FLAKY)) 14 'Flaky tests.', result_status.ToStatusMessage()[result_status.FLAKY])
15
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698