blob: cae460d0ef525cfc9724ed82824fa674aca287ac [file]
# -*- 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.
from __future__ import annotations
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')