| 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 from pipeline_utils.appengine_third_party_pipeline_src_pipeline import handlers | 5 from pipeline_utils.appengine_third_party_pipeline_python_src_pipeline \ |
| 6 import handlers |
| 6 from testing_utils import testing | 7 from testing_utils import testing |
| 7 | 8 |
| 8 from common import chromium_deps | 9 from common import chromium_deps |
| 9 from common.dependency import Dependency | 10 from common.dependency import Dependency |
| 10 from common.diff import ChangeType | 11 from common.diff import ChangeType |
| 11 from waterfall.extract_deps_info_pipeline import ExtractDEPSInfoPipeline | 12 from waterfall.extract_deps_info_pipeline import ExtractDEPSInfoPipeline |
| 12 | 13 |
| 13 | 14 |
| 14 class ExtractDEPSInfoPipelineTest(testing.AppengineTestCase): | 15 class ExtractDEPSInfoPipelineTest(testing.AppengineTestCase): |
| 15 app_module = handlers._APP | 16 app_module = handlers._APP |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 } | 107 } |
| 107 change_logs = {} | 108 change_logs = {} |
| 108 expected_deps_info = { | 109 expected_deps_info = { |
| 109 'deps': {}, | 110 'deps': {}, |
| 110 'deps_rolls': {}, | 111 'deps_rolls': {}, |
| 111 } | 112 } |
| 112 | 113 |
| 113 pipeline = ExtractDEPSInfoPipeline() | 114 pipeline = ExtractDEPSInfoPipeline() |
| 114 deps_info = pipeline.run(failure_info, change_logs) | 115 deps_info = pipeline.run(failure_info, change_logs) |
| 115 self.assertEqual(expected_deps_info, deps_info) | 116 self.assertEqual(expected_deps_info, deps_info) |
| OLD | NEW |