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

Side by Side Diff: recipes/engine_tests/unicode.py

Issue 2088343002: improve unicode support (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Copyright Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 # -*- coding: utf-8 -*-
1 # Copyright 2016 The LUCI Authors. All rights reserved. 2 # Copyright 2016 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed under the Apache License, Version 2.0 3 # Use of this source code is governed under the Apache License, Version 2.0
3 # that can be found in the LICENSE file. 4 # that can be found in the LICENSE file.
4 5
5 DEPS = [ 6 DEPS = [
6 'tempfile', 7 'properties',
8 'step',
7 ] 9 ]
8 10
9 def RunSteps(api): 11 def RunSteps(api):
10 with api.tempfile.temp_dir('foo'): 12 result = api.step(
11 pass 13 'trigger some junk',
12 14 cmd=['echo', 'hi'],
15 )
16 result.presentation.logs['thing'] = u'hiiiii 😀…'
13 17
14 def GenTests(api): 18 def GenTests(api):
15 yield api.test('basic') 19 yield api.test('basic')
OLDNEW
« no previous file with comments | « recipe_engine/third_party/expect_tests/serialize.py ('k') | recipes/engine_tests/unicode.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698