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

Side by Side Diff: appengine/findit/waterfall/test/extract_signal_pipeline_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 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 model.wf_step import WfStep 11 from model.wf_step import WfStep
11 from waterfall import buildbot 12 from waterfall import buildbot
12 from waterfall import extractors 13 from waterfall import extractors
13 from waterfall.extract_signal_pipeline import ExtractSignalPipeline 14 from waterfall.extract_signal_pipeline import ExtractSignalPipeline
14 15
15 16
16 class ExtractSignalPipelineTest(testing.AppengineTestCase): 17 class ExtractSignalPipelineTest(testing.AppengineTestCase):
17 app_module = handlers._APP 18 app_module = handlers._APP
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 def testBailOutIfNoValidChromiumRevision(self): 274 def testBailOutIfNoValidChromiumRevision(self):
274 failure_info = { 275 failure_info = {
275 'failed': True, 276 'failed': True,
276 'chromium_revision': None, 277 'chromium_revision': None,
277 } 278 }
278 expected_signals = {} 279 expected_signals = {}
279 280
280 pipeline = ExtractSignalPipeline() 281 pipeline = ExtractSignalPipeline()
281 signals = pipeline.run(failure_info) 282 signals = pipeline.run(failure_info)
282 self.assertEqual(expected_signals, signals) 283 self.assertEqual(expected_signals, signals)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698