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

Side by Side Diff: appengine/findit/waterfall/test/build_failure_analysis_pipelines_test.py

Issue 1260743006: Update appengine-pipelines before files API turndown. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix typo. Created 5 years, 4 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 unified diff | Download patch
OLDNEW
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 os 5 import os
6 import logging 6 import logging
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_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 build_failure_analysis_pipelines 14 from waterfall import build_failure_analysis_pipelines
14 from waterfall import buildbot 15 from waterfall import buildbot
15 from waterfall import lock_util 16 from waterfall import lock_util
16 17
17 18
18 class _MockRootPipeline(object): 19 class _MockRootPipeline(object):
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 self.mock(build_failure_analysis_pipelines.analyze_build_failure_pipeline, 172 self.mock(build_failure_analysis_pipelines.analyze_build_failure_pipeline,
172 'AnalyzeBuildFailurePipeline', 173 'AnalyzeBuildFailurePipeline',
173 _MockRootPipeline) 174 _MockRootPipeline)
174 _MockRootPipeline.STARTED = False 175 _MockRootPipeline.STARTED = False
175 176
176 build_failure_analysis_pipelines.ScheduleAnalysisIfNeeded( 177 build_failure_analysis_pipelines.ScheduleAnalysisIfNeeded(
177 master_name, builder_name, build_number, 178 master_name, builder_name, build_number,
178 failed_steps=['a'], force=False, queue_name='default') 179 failed_steps=['a'], force=False, queue_name='default')
179 180
180 self.assertFalse(_MockRootPipeline.STARTED) 181 self.assertFalse(_MockRootPipeline.STARTED)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698