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

Unified Diff: recipes/engine_tests/unicode.py

Issue 2095663003: improve unicode support (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Created 4 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: recipes/engine_tests/unicode.py
diff --git a/recipes/engine_tests/unicode.py b/recipes/engine_tests/unicode.py
new file mode 100644
index 0000000000000000000000000000000000000000..a4bf9b52a2e748d3a811ce39d48fec4f928d7a46
--- /dev/null
+++ b/recipes/engine_tests/unicode.py
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+# Copyright 2013 The LUCI Authors. All rights reserved.
tandrii(chromium) 2016/06/23 19:52:36 nit : 2016
+# Use of this source code is governed under the Apache License, Version 2.0
+# that can be found in the LICENSE file.
+
+DEPS = [
+ 'properties',
+ 'step',
+]
+
+def RunSteps(api):
+ result = api.step(
+ 'trigger some junk',
+ cmd=['echo', 'hi'],
+ )
+ result.presentation.logs['thing'] = u'hiiiii 😀…'
+
+def GenTests(api):
+ yield api.test('basic')

Powered by Google App Engine
This is Rietveld 408576698