| OLD | NEW |
| 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 | |
| OLD | NEW |