Index: recipe_engine/simulation_test.py |
diff --git a/recipe_engine/simulation_test.py b/recipe_engine/simulation_test.py |
index b397a7b83a294e6928ea237461bdd3736cf3b922..a4d087044b0a36d67969a8ee842a872c8fcf0a41 100644 |
--- a/recipe_engine/simulation_test.py |
+++ b/recipe_engine/simulation_test.py |
@@ -80,16 +80,17 @@ def RunRecipe(test_data): |
config_types.ResetTostringFns() |
+ rt = run.Runtime(test_data.properties) |
annotator = SimulationAnnotatorStreamEngine() |
with stream.StreamEngineInvariants.wrap(annotator) as stream_engine: |
step_runner = step_runner.SimulationStepRunner(stream_engine, test_data, |
annotator) |
- engine = run.RecipeEngine(step_runner, test_data.properties, _UNIVERSE) |
+ engine = run.RecipeEngine(step_runner, rt, _UNIVERSE) |
recipe_script = _UNIVERSE.load_recipe(test_data.properties['recipe'], |
engine=engine) |
api = loader.create_recipe_api(recipe_script.LOADED_DEPS, engine, test_data) |
- result = engine.run(recipe_script, api, test_data.properties) |
+ result = engine.run(recipe_script, api) |
# Don't include tracebacks in expectations because they are too sensitive to |
# change. |