Chromium Code Reviews| 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..5e3a9f332a2fa4ff0e85a365668f0a9037563572 |
| --- /dev/null |
| +++ b/appengine/findit/handlers/test/result_status_test.py |
| @@ -0,0 +1,14 @@ |
| +# Copyright 2016 The Chromium Authors. All rights reserved. |
| +# 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( |
|
lijeffrey
2016/03/28 23:35:04
nit: 2 spaces
chanli
2016/03/29 01:35:47
File deleted
|
| + 'Flaky tests.', result_status.ToStatusMessage()[result_status.FLAKY]) |