| Index: recipe_modules/step/tests/active_result.py
|
| diff --git a/recipe_modules/step/tests/active_result.py b/recipe_modules/step/tests/active_result.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f34807651a4f5325ccb31868aa285654cdb1154b
|
| --- /dev/null
|
| +++ b/recipe_modules/step/tests/active_result.py
|
| @@ -0,0 +1,17 @@
|
| +# Copyright 2017 The LUCI Authors. All rights reserved.
|
| +# Use of this source code is governed under the Apache License, Version 2.0
|
| +# that can be found in the LICENSE file.
|
| +
|
| +DEPS = [
|
| + 'step',
|
| +]
|
| +
|
| +
|
| +def RunSteps(api):
|
| + api.step('test step', [])
|
| + api.step.active_result.presentation.logs['test_log'] = ['line 1', 'line2']
|
| + api.step.active_result.presentation.step_text = 'test step text'
|
| +
|
| +
|
| +def GenTests(api):
|
| + yield api.test('basic')
|
|
|