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

Unified Diff: scripts/slave/unittests/recipe_simulation_test.py

Issue 240053005: Various minor improvements to recipe_simulation_test.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/unittests/expect_tests/type_definitions.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/unittests/recipe_simulation_test.py
diff --git a/scripts/slave/unittests/recipe_simulation_test.py b/scripts/slave/unittests/recipe_simulation_test.py
index d45149f6a27c50510c8791a47bd306b0fa4ea468..66e56012b4bed484e47fe4b6e88dcbf221cb4186 100755
--- a/scripts/slave/unittests/recipe_simulation_test.py
+++ b/scripts/slave/unittests/recipe_simulation_test.py
@@ -29,8 +29,6 @@ def RunRecipe(test_data):
def GenerateTests():
- mods = recipe_loader.load_recipe_modules(recipe_loader.MODULE_DIRS())
-
for recipe_path, recipe_name in recipe_loader.loop_over_recipes():
recipe = recipe_loader.load_recipe(recipe_name)
test_api = recipe_loader.create_test_api(recipe.DEPS)
@@ -45,7 +43,7 @@ def GenerateTests():
RunRecipe, args=(test_data,),
expect_dir=expect_path,
expect_base=test_data.name,
- break_funcs=(mods.step.API.__call__, recipe.GenSteps)
+ break_funcs=(recipe.GenSteps,)
)
« no previous file with comments | « scripts/slave/unittests/expect_tests/type_definitions.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698