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

Unified Diff: recipe_engine/simulation_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/run.py ('k') | recipe_engine/unittests/loader_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/simulation_test.py
diff --git a/recipe_engine/simulation_test.py b/recipe_engine/simulation_test.py
index 862702eabe604d859566ee27e52477c5a718c260..23107643895b17045f75788828bcd265d866ff38 100644
--- a/recipe_engine/simulation_test.py
+++ b/recipe_engine/simulation_test.py
@@ -74,11 +74,11 @@ def GenerateTests():
)
-def main(package_deps, args=None):
+def main(universe, args=None):
"""Runs simulation tests on a given repo of recipes.
Args:
- package_deps: a PackageDeps object to operate on
+ universe: a RecipeUniverse object to operate on
args: command line arguments to expect_tests
Returns:
Doesn't -- exits with a status code
@@ -96,7 +96,7 @@ def main(package_deps, args=None):
os.environ.pop(env_var)
global _UNIVERSE
- _UNIVERSE = loader.RecipeUniverse(package_deps)
+ _UNIVERSE = universe
expect_tests.main('recipe_simulation_test', GenerateTests,
cover_omit=cover_omit(), args=args)
« no previous file with comments | « recipe_engine/run.py ('k') | recipe_engine/unittests/loader_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698