Index: recipes/engine_tests/unicode.py |
diff --git a/recipe_modules/tempfile/example.py b/recipes/engine_tests/unicode.py |
similarity index 57% |
copy from recipe_modules/tempfile/example.py |
copy to recipes/engine_tests/unicode.py |
index f9f8c89583f6e2730d8472657a76843c139057d0..138f1763fac2c50999627aa9d965a68a1dabc0f6 100644 |
--- a/recipe_modules/tempfile/example.py |
+++ b/recipes/engine_tests/unicode.py |
@@ -1,15 +1,19 @@ |
+# -*- coding: utf-8 -*- |
# Copyright 2016 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 = [ |
- 'tempfile', |
+ 'properties', |
+ 'step', |
] |
def RunSteps(api): |
- with api.tempfile.temp_dir('foo'): |
- pass |
- |
+ result = api.step( |
+ 'trigger some junk', |
+ cmd=['echo', 'hi'], |
+ ) |
+ result.presentation.logs['thing'] = u'hiiiii 😀…' |
def GenTests(api): |
yield api.test('basic') |