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

Unified Diff: recipe_engine/lint_test.py

Issue 1421843006: Add simple depends_on API. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Remove old expectation, move tests to their own folder. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_engine/doc.py ('k') | recipe_engine/loader.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/lint_test.py
diff --git a/recipe_engine/lint_test.py b/recipe_engine/lint_test.py
index c14628189547839af96cad38275424b556a580cf..ce0dcd0e11d352f645a85c0d2fd77033cbc8cd2a 100644
--- a/recipe_engine/lint_test.py
+++ b/recipe_engine/lint_test.py
@@ -61,12 +61,11 @@ def ImportsTest(recipe_path, recipe_name, whitelist, universe):
(recipe_path, module_name))
-def main(package_deps, whitelist=[]):
+def main(universe, whitelist=[]):
from . import loader
from . import package
whitelist = map(re.compile, MODULES_WHITELIST + whitelist)
- universe = loader.RecipeUniverse(package_deps)
errors = []
for recipe_path, recipe_name in universe.loop_over_recipes():
« no previous file with comments | « recipe_engine/doc.py ('k') | recipe_engine/loader.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698