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

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: Rebase, comments. Created 4 years, 3 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 | « recipe_engine/stream.py ('k') | recipe_engine/unittests/stream_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/unittests/run_test.py
diff --git a/recipe_engine/unittests/run_test.py b/recipe_engine/unittests/run_test.py
index 1a4454d5384844f7dbae379b643f8a9d21e6e6d6..64a34c4d7256595c36e09c7a93691b2f2d5b8ba8 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 requests_ssl
from recipe_engine import recipe_test_api
@@ -145,9 +146,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)
« no previous file with comments | « recipe_engine/stream.py ('k') | recipe_engine/unittests/stream_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698