| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import datetime | 5 import datetime |
| 6 import os | 6 import os |
| 7 | 7 |
| 8 from pipeline_utils.appengine_third_party_pipeline_src_pipeline import handlers | 8 from pipeline_utils.appengine_third_party_pipeline_python_src_pipeline \ |
| 9 import handlers |
| 9 from testing_utils import testing | 10 from testing_utils import testing |
| 10 | 11 |
| 11 from model.wf_build import WfBuild | 12 from model.wf_build import WfBuild |
| 12 from model.wf_analysis import WfAnalysis | 13 from model.wf_analysis import WfAnalysis |
| 13 from model import wf_analysis_status | 14 from model import wf_analysis_status |
| 14 from waterfall import buildbot | 15 from waterfall import buildbot |
| 15 from waterfall import detect_first_failure_pipeline | 16 from waterfall import detect_first_failure_pipeline |
| 16 from waterfall.detect_first_failure_pipeline import DetectFirstFailurePipeline | 17 from waterfall.detect_first_failure_pipeline import DetectFirstFailurePipeline |
| 17 from waterfall import lock_util | 18 from waterfall import lock_util |
| 18 | 19 |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 'current_failure': 2, | 277 'current_failure': 2, |
| 277 'first_failure': 0 | 278 'first_failure': 0 |
| 278 }, | 279 }, |
| 279 'unit_tests': { | 280 'unit_tests': { |
| 280 'current_failure': 2, | 281 'current_failure': 2, |
| 281 'first_failure': 0 | 282 'first_failure': 0 |
| 282 } | 283 } |
| 283 } | 284 } |
| 284 | 285 |
| 285 self.assertEqual(expected_failed_steps, failure_info['failed_steps']) | 286 self.assertEqual(expected_failed_steps, failure_info['failed_steps']) |
| OLD | NEW |