| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 os | 5 import os |
| 6 | 6 |
| 7 from pipeline_utils.appengine_third_party_pipeline_src_pipeline import handlers | 7 from pipeline_utils.appengine_third_party_pipeline_python_src_pipeline \ |
| 8 import handlers |
| 8 from testing_utils import testing | 9 from testing_utils import testing |
| 9 | 10 |
| 10 from common import chromium_deps | 11 from common import chromium_deps |
| 11 from model.wf_analysis import WfAnalysis | 12 from model.wf_analysis import WfAnalysis |
| 12 from model import wf_analysis_status | 13 from model import wf_analysis_status |
| 13 from waterfall import buildbot | 14 from waterfall import buildbot |
| 14 from waterfall.analyze_build_failure_pipeline import AnalyzeBuildFailurePipeline | 15 from waterfall.analyze_build_failure_pipeline import AnalyzeBuildFailurePipeline |
| 15 from waterfall import lock_util | 16 from waterfall import lock_util |
| 16 | 17 |
| 17 | 18 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 self._Setup(master_name, builder_name, build_number) | 193 self._Setup(master_name, builder_name, build_number) |
| 193 | 194 |
| 194 root_pipeline = AnalyzeBuildFailurePipeline(master_name, | 195 root_pipeline = AnalyzeBuildFailurePipeline(master_name, |
| 195 builder_name, | 196 builder_name, |
| 196 build_number) | 197 build_number) |
| 197 root_pipeline._LogUnexpectedAborting(False) | 198 root_pipeline._LogUnexpectedAborting(False) |
| 198 | 199 |
| 199 analysis = WfAnalysis.Get(master_name, builder_name, build_number) | 200 analysis = WfAnalysis.Get(master_name, builder_name, build_number) |
| 200 self.assertIsNotNone(analysis) | 201 self.assertIsNotNone(analysis) |
| 201 self.assertNotEqual(wf_analysis_status.ERROR, analysis.status) | 202 self.assertNotEqual(wf_analysis_status.ERROR, analysis.status) |
| OLD | NEW |