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

Unified Diff: recipe_engine/unittests/run_test.py

Issue 2245113002: Track step nesting in StreamEngine. (Closed) Base URL: https://github.com/luci/recipes-py@emit-initial-properties
Patch Set: Created 4 years, 4 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
Index: recipe_engine/unittests/run_test.py
diff --git a/recipe_engine/unittests/run_test.py b/recipe_engine/unittests/run_test.py
index f15e333754f21889cc1c2cd4b7076baa7b73acea..d77a9c240fcfa8d7dc1008ee422c6cd57750a549 100755
--- a/recipe_engine/unittests/run_test.py
+++ b/recipe_engine/unittests/run_test.py
@@ -15,6 +15,7 @@ import test_env
from test_env import BASE_DIR
import recipe_engine.run
+import recipe_engine.simulation_test as simulation_test
import recipe_engine.step_runner
from recipe_engine import recipe_test_api
import mock
@@ -139,9 +140,10 @@ class RunTest(unittest.TestCase):
api._engine = mock.Mock()
api._engine.properties = properties
+ annotator = simulation_test.SimulationAnnotatorStreamEngine()
engine = recipe_engine.run.RecipeEngine(
recipe_engine.step_runner.SimulationStepRunner(
- stream_engine, test_data),
+ stream_engine, test_data, annotator),
properties,
None)

Powered by Google App Engine
This is Rietveld 408576698