blob: 87bb0c5552dd0e978662ff54f44e116f33ceb49d [file] [log] [blame]
# -*- 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.
PYTHON_VERSION_COMPATIBILITY = 'PY2+3'
DEPS = [
'properties',
'step',
]
def RunSteps(api):
result = api.step(
'trigger some junk',
cmd=['echo', 'hi'],
)
result.presentation.logs['thing'] = [
u'hiiiii 😀…' , # This is valid, and should be displayed.
b'\xe4\xb8\xad', # Raw utf-8 bytes will be decoded.
]
def GenTests(api):
yield api.test('basic')