blob: 7e29dbd09dfccbfc7fae9b6e274bd3833c6286cf [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.
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')