Chromium Code Reviews| 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. |
| +# 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'], |
|
M-A Ruel
2016/06/23 13:12:33
'echo', '❤ python'
to test unicode in the command
martiniss
2016/06/23 17:32:14
AFAIK unicode isn't natively supported on windows,
|
| + ) |
| + result.presentation.logs['thing'] = u'hiiiii 😀…' |
| + |
| +def GenTests(api): |
| + yield api.test('basic') |