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

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

Issue 1827903002: [Findit] Modify handlers_util to prepare for the new UI change. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: . Created 4 years, 9 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
Index: appengine/findit/handlers/test/result_status_test.py
diff --git a/appengine/findit/handlers/test/result_status_test.py b/appengine/findit/handlers/test/result_status_test.py
new file mode 100644
index 0000000000000000000000000000000000000000..8fe581b7f08e5b98e91a36024602dd47dab24de5
--- /dev/null
+++ b/appengine/findit/handlers/test/result_status_test.py
@@ -0,0 +1,16 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
stgao 2016/03/28 22:27:22 As result_status is straight-forward, we could ski
chanli 2016/03/29 01:35:47 Done.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from testing_utils import testing
+
+from handlers import result_status
+from model import wf_analysis_status
+
+class ResultStatusTest(testing.AppengineTestCase):
+
+ def testToStatusMessage(self):
+ self.assertEqual(
+ 'Flaky tests.', result_status.ToStatusMessage(result_status.FLAKY))
+
+

Powered by Google App Engine
This is Rietveld 408576698