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

Unified Diff: recipe_engine/unittests/stream_logdog_test.py

Issue 2934583003: [step] Remove config indirection. (Closed)
Patch Set: cleanup Created 3 years, 6 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/stream_logdog_test.py
diff --git a/recipe_engine/unittests/stream_logdog_test.py b/recipe_engine/unittests/stream_logdog_test.py
index c3ae82237aa7414b6fe3c014dc7f8d4d4044e249..3a4e118b490c93c20972e8edf47e8c73fc1d080d 100755
--- a/recipe_engine/unittests/stream_logdog_test.py
+++ b/recipe_engine/unittests/stream_logdog_test.py
@@ -662,20 +662,20 @@ class StreamEngineTest(unittest.TestCase):
# parent."child 1"
with self._step_stream(se,
name='child 1',
- step_nest_level=1) as step:
+ nest_level=1) as step:
step.write_line('I am child #1.')
# parent."child 1"."grandchild"
with self._step_stream(se,
name='grandchild',
- step_nest_level=2) as step:
+ nest_level=2) as step:
step.write_line("I am child #1's child.")
# parent."child 2". Mark this child as failed. This should not propagate
# to the parent, since it has an explicit status.
with self._step_stream(se,
name='child 2',
- step_nest_level=1) as step:
+ nest_level=1) as step:
step.write_line('I am child #2.')
# parent."child 2". Mark this child as failed. This should not propagate
@@ -971,7 +971,7 @@ class AnnotationStateTest(unittest.TestCase):
# Child step.
self.astate.create_step(recipe_api.StepConfig.create(
name='first child',
- step_nest_level=1))
+ nest_level=1))
self.assertEqual(len(base.substep), 1)
self.assertEqual(len(base.substep[0].step.substep), 1)
self.assertEqual(base.substep[0].step.substep[0].step.name, 'first child')

Powered by Google App Engine
This is Rietveld 408576698