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

Side by Side Diff: recipe_engine/recipe_test_api.py

Issue 1421843006: Add simple depends_on API. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Created 5 years, 1 month 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 2013-2015 The Chromium Authors. All rights reserved. 1 # Copyright 2013-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 collections 5 import collections
6 6
7 from .util import ModuleInjectionSite, static_call, static_wraps 7 from .util import ModuleInjectionSite, static_call, static_wraps
8 8
9 def combineify(name, dest, a, b): 9 def combineify(name, dest, a, b):
10 """ 10 """
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 def override_step_data(self, name, *data, **kwargs): 455 def override_step_data(self, name, *data, **kwargs):
456 """See _step_data()""" 456 """See _step_data()"""
457 kwargs['override'] = True 457 kwargs['override'] = True
458 return self._step_data(name, *data, **kwargs) 458 return self._step_data(name, *data, **kwargs)
459 override_step_data.__doc__ = _step_data.__doc__ 459 override_step_data.__doc__ = _step_data.__doc__
460 460
461 def expect_exception(self, exc_type): #pylint: disable=R0201 461 def expect_exception(self, exc_type): #pylint: disable=R0201
462 ret = TestData(None) 462 ret = TestData(None)
463 ret.expect_exception(exc_type) 463 ret.expect_exception(exc_type)
464 return ret 464 return ret
465
466 def depend_on(self, recipe, value):
467 pass
468
469 def depend_on_recipe_test(self, recipe, recipe_test):
470 pass
OLDNEW
« no previous file with comments | « recipe_engine/recipe_api.py ('k') | recipe_engine/run.py » ('j') | recipes/top.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698